summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-01 17:24:03 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-01 17:24:03 +0100
commit0577b824e137f143c899a567b1bbeb109841c796 (patch)
tree7f65fa702d5598452fe8a5f7a48fb8d80a14f875 /zebra/interface.c
parent0d4aa1b1864dc8f7cc8a210c15b0302f14f0dcb9 (diff)
parentdb2d8df649d1e8ed26f28eb04bbd6fe3768a17cc (diff)
Merge branch 'stable/2.0'
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index ff9c0a3019..91dbe52764 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -512,9 +512,10 @@ if_install_connected (struct interface *ifp)
{
for (ALL_LIST_ELEMENTS (ifp->connected, node, next, ifc))
{
- p = ifc->address;
- zebra_interface_address_add_update (ifp, ifc);
+ if (CHECK_FLAG(ifc->conf, ZEBRA_IFC_REAL))
+ zebra_interface_address_add_update (ifp, ifc);
+ p = ifc->address;
if (p->family == AF_INET)
connected_up_ipv4 (ifp, ifc);
else if (p->family == AF_INET6)