summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_zebra.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-04-24 17:30:26 +0200
committerChristian Franke <chris@opensourcerouting.org>2017-01-30 13:47:04 +0100
commitd75f3b00e74de3350202848d62b2bfbcdd1c0dae (patch)
tree0c20a539e4f15602fa3d51ea58f464b6e8661df2 /ripngd/ripng_zebra.c
parentzebra: receive ZAPI IPv6 source prefix (diff)
downloadfrr-d75f3b00e74de3350202848d62b2bfbcdd1c0dae.tar.xz
frr-d75f3b00e74de3350202848d62b2bfbcdd1c0dae.zip
lib: send ZAPI IPv6 source prefix
This introduces ZAPI_MESSAGE_SRCPFX, and if set adds a source prefix field to ZAPI IPv6 route messages sent from daemons to zebra. The function calls all have a new prefix_ipv6 * argument specifying the source, or NULL. All daemons currently supply NULL. Zebra support for processing the field was added in the previous patch, however, zebra does not do anything useful with the value yet. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r--ripngd/ripng_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index 5de785a6b..970aa14df 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -99,7 +99,7 @@ ripng_zebra_ipv6_send (struct route_node *rp, u_char cmd)
}
zapi_ipv6_route (cmd, zclient,
- (struct prefix_ipv6 *)&rp->p, &api);
+ (struct prefix_ipv6 *)&rp->p, NULL, &api);
if (IS_RIPNG_DEBUG_ZEBRA)
{