summaryrefslogtreecommitdiff
path: root/ripngd/ripng_interface.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2016-10-01 22:35:32 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-07 21:05:06 -0400
commit1796a585f07b76a6855e32f339bfd7346432dd2d (patch)
treeb5a6a7eb97178d98b756bbee90c5f421ce8b164f /ripngd/ripng_interface.c
parent9471675f21f3f7d9cec41c32854477f96a5ce323 (diff)
ripngd: add support for route tags
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripng_interface.c')
-rw-r--r--ripngd/ripng_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index 0061c0e803..c4dec7e7b1 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -383,7 +383,7 @@ ripng_apply_address_add (struct connected *ifc) {
if ((ripng_enable_if_lookup(ifc->ifp->name) >= 0) ||
(ripng_enable_network_lookup2(ifc) >= 0))
ripng_redistribute_add(ZEBRA_ROUTE_CONNECT, RIPNG_ROUTE_INTERFACE,
- &address, ifc->ifp->ifindex, NULL);
+ &address, ifc->ifp->ifindex, NULL, 0);
}
@@ -704,13 +704,13 @@ ripng_connect_set (struct interface *ifp, int set)
if ((ripng_enable_if_lookup(connected->ifp->name) >= 0) ||
(ripng_enable_network_lookup2(connected) >= 0))
ripng_redistribute_add (ZEBRA_ROUTE_CONNECT, RIPNG_ROUTE_INTERFACE,
- &address, connected->ifp->ifindex, NULL);
+ &address, connected->ifp->ifindex, NULL, 0);
} else {
ripng_redistribute_delete (ZEBRA_ROUTE_CONNECT, RIPNG_ROUTE_INTERFACE,
&address, connected->ifp->ifindex);
if (ripng_redistribute_check (ZEBRA_ROUTE_CONNECT))
ripng_redistribute_add (ZEBRA_ROUTE_CONNECT, RIPNG_ROUTE_REDISTRIBUTE,
- &address, connected->ifp->ifindex, NULL);
+ &address, connected->ifp->ifindex, NULL, 0);
}
}
}