diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-04-24 17:30:26 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2017-01-30 13:47:04 +0100 |
commit | d75f3b00e74de3350202848d62b2bfbcdd1c0dae (patch) | |
tree | 0c20a539e4f15602fa3d51ea58f464b6e8661df2 /ripngd/ripng_zebra.c | |
parent | zebra: receive ZAPI IPv6 source prefix (diff) | |
download | frr-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.c | 2 |
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) { |