summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_zebra.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2013-03-08 21:47:35 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2014-03-18 08:44:05 +0100
commitd9628728e0924ae13ef6e8f8a67a2c9802745184 (patch)
treeaf4cee6c7018580655cb53a0900471128cc0a8bb /ospf6d/ospf6_zebra.c
parent37531a7ec380554b18c004bcae9f5a070385d132 (diff)
downloadquagga-d9628728e0924ae13ef6e8f8a67a2c9802745184.tar.bz2
quagga-d9628728e0924ae13ef6e8f8a67a2c9802745184.tar.xz
ospf6d: improve ordered shutdown
Improve the _disable/_enable infrastructure so it gets into a more usable shape and make 'no router ospf6' actually work. Signed-off-by: Christian Franke <chris@opensourcerouting.org> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_zebra.c')
-rw-r--r--ospf6d/ospf6_zebra.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index f09e9d22..50ecc170 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -117,7 +117,9 @@ ospf6_zebra_if_del (int command, struct zclient *zclient, zebra_size_t length)
ifp->name, ifp->ifindex, ifp->mtu6);
#if 0
- /* Why is this commented out? */
+ /* XXX: ospf6_interface_if_del is not the right way to handle this,
+ * because among other thinkable issues, it will also clear all
+ * settings as they are contained in the struct ospf6_interface. */
ospf6_interface_if_del (ifp);
#endif /*0*/