summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/kernel_null.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/kernel_null.c b/zebra/kernel_null.c
index 94b7b3c7..6b96c6df 100644
--- a/zebra/kernel_null.c
+++ b/zebra/kernel_null.c
@@ -22,6 +22,7 @@ int kernel_add_route (struct prefix_ipv4 *a, struct in_addr *b, int c, int d)
int kernel_address_add_ipv4 (struct interface *a, struct connected *b)
{
zlog_debug ("%s", __func__);
+ SET_FLAG (b->conf, ZEBRA_IFC_REAL);
connected_add_ipv4 (a, 0, &b->address->u.prefix4, b->address->prefixlen,
(b->destination ? &b->destination->u.prefix4 : NULL),
NULL);