summaryrefslogtreecommitdiffstats
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-29 22:16:00 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-29 23:09:06 -0700
commit3a0ab9d1718175098bebca664f2004ec4daacfed (patch)
tree5ba6a7353686ffca0841fd69404ca079653c3f62 /zebra/rib.h
parent11bbc07a287d883f3013567f897290859c428286 (diff)
downloadquagga-3a0ab9d1718175098bebca664f2004ec4daacfed.tar.bz2
quagga-3a0ab9d1718175098bebca664f2004ec4daacfed.tar.xz
Handle kernel flush when address is deleted
When interface addresses are deleted, the kernel will flush all routes. Quagga needs to follow this correctly. Relates to DHCP bugs 4314, 4315, ...
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index b98410aa..c374df37 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -273,6 +273,8 @@ extern struct rib *rib_lookup_ipv4 (struct prefix_ipv4 *);
extern void rib_update (void);
extern void rib_weed_tables (void);
extern void rib_sweep_route (void);
+struct interface;
+extern void rib_flush_interface (afi_t afi, struct interface *ifp);
extern void rib_close (void);
extern void rib_init (void);