diff options
author | Christian Franke <chris@opensourcerouting.org> | 2013-03-08 21:47:35 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-03-18 08:44:05 +0100 |
commit | d9628728e0924ae13ef6e8f8a67a2c9802745184 (patch) | |
tree | af4cee6c7018580655cb53a0900471128cc0a8bb /ospf6d/ospf6_message.c | |
parent | ospf6d: clear DR info on interface_down (diff) | |
download | frr-d9628728e0924ae13ef6e8f8a67a2c9802745184.tar.xz frr-d9628728e0924ae13ef6e8f8a67a2c9802745184.zip |
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_message.c')
-rw-r--r-- | ospf6d/ospf6_message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index caebf5d6b..5fb5a2164 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c @@ -1543,7 +1543,7 @@ ospf6_receive (struct thread *thread) } oi = ospf6_interface_lookup_by_ifindex (ifindex); - if (oi == NULL || oi->area == NULL) + if (oi == NULL || oi->area == NULL || CHECK_FLAG(oi->flag, OSPF6_INTERFACE_DISABLE)) { zlog_debug ("Message received on disabled interface"); return 0; |