0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-21 17:21:53 +00:00
bird/conf
Ondrej Zajicek 1567edea8d Bugfix for routing table breaking bug.
Here is a patch fixing a bug that causes breakage of a local routing
table during shutdown of Bird. The problem was caused by shutdown
of 'device' protocol before shutdown of 'kernel' protocol.  When
'device' protocol went down, the route (with local network prefix)
From different protocol (BGP or OSPF) became preferred and installed
to the kernel routing table. Such routes were broken (like
192.168.1.0/24 via 192.168.1.2). I think it is also the cause
of problem reported by Martin Kraus.

The patch disables updating of kernel routing table during shutdown of
Bird. I am not sure whether this is the best way to fix it, I would
prefer to forbid 'kernel' protocol to overwrite routes with
'proto kernel'.

The patch also fixes a problem that during shutdown sometimes routes
created by Bird remained in the kernel routing table.
2008-10-26 23:09:46 +01:00
..
cf-lex.l Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
conf.c Bugfix for routing table breaking bug. 2008-10-26 23:09:46 +01:00
conf.h Nested scopes could never have worked. My fault I wrote such a buggy code, 2000-06-04 19:30:13 +00:00
confbase.Y Time added in password management. 2005-02-12 22:27:55 +00:00
Doc Moved parser docs to cf-lex.l, so that the parser compiles. 2000-06-04 15:22:20 +00:00
gen_commands.m4 Client: Online help works (Cisco style: just press `?' at the end of a line). 2000-02-17 22:00:13 +00:00
gen_keywords.m4 Include CF_HDR section in keywords.h as well, so that protocol symbols 2000-04-28 15:12:03 +00:00
gen_parser.m4 Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines, 2000-04-28 15:11:10 +00:00
Makefile New version of flex needs argument separated. 2007-06-20 12:32:39 +00:00