summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-12-15 05:22:48 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-12-15 05:22:48 -0800
commitf11b863d69e62d54168d75f3cc2018103b9a7e34 (patch)
treef690f32607e7432821bbabeb0cfb622419aaf380 /zebra/interface.c
parentca208d065c064692a334dff8612b7049475d4214 (diff)
zebra: Fix crash in connected.c due to RA change
Back out original null pointer fix targeted it was the wrong fix. Basically when a ip address is deleted the RA code was waiting till after the connected pointer was deleted to set the RA appropriately. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index dcbc5a3b95..cb4645c2f1 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1770,9 +1770,6 @@ ipv6_address_configured (struct interface *ifp)
struct connected *connected;
struct listnode *node;
- if (!ifp)
- return 0;
-
for (ALL_LIST_ELEMENTS_RO (ifp->connected, node, connected))
if (CHECK_FLAG (connected->conf, ZEBRA_IFC_REAL) && (connected->address->family == AF_INET6))
return 1;