summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorpaul <paul>2005-07-29 14:36:00 +0000
committerpaul <paul>2005-07-29 14:36:00 +0000
commit11b38e70dace24e7f2141ca22dc8d39c507af07c (patch)
tree3d8dd2ea0e1152edeb206f7bc84aa9317f399610 /zebra/zserv.h
parent24c221362db33989366e39f2ae2ad3c428f2f67b (diff)
downloadquagga-11b38e70dace24e7f2141ca22dc8d39c507af07c.tar.bz2
quagga-11b38e70dace24e7f2141ca22dc8d39c507af07c.tar.xz
2005-07-29 Paul Jakma <paul.jakma@sun.com>
* interface.c: (if_delete_update) should always be available, not just on RTM_IFANNOUNCE/NETLINK systems. * kernel_socket.c: (ifan_read) only call if_delete_update when interface departs, dont if_delete, because we wish to retain interface configuration state even when interfaces are removed. (ifm_read) If we dont have RTM_IFANNOUNCE, then transitioning to down state is only chance we have to clean up interface in case it is deleted (eg Solaris down -> unplumb -> plumb up). * redistribute.c: (zebra_interface_delete_update) should always be available, we /will/ call it now on all systems, via if_delete_update. * zserv.c: (zsend_interface_delete) ditto (zsend_interface_address) Update the call-flow diagramme, to reflect that if_delete_update /is/ now called on all systems, potentially. * zserv.h: (zsend_interface_delete) unconditionally exported, as above.
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index 8e67c605..f7d3f8c0 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -96,9 +96,7 @@ extern void zebra_snmp_init (void);
extern void zebra_vty_init (void);
extern int zsend_interface_add (struct zserv *, struct interface *);
-#if (defined(RTM_IFANNOUNCE) || defined(HAVE_NETLINK))
extern int zsend_interface_delete (struct zserv *, struct interface *);
-#endif
extern int zsend_interface_address (int, struct zserv *, struct interface *,
struct connected *);
extern int zsend_interface_update (int, struct zserv *, struct interface *);