diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-09-24 22:58:27 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-27 21:26:05 +0200 |
commit | 027db4691747355140e182902ec6412579e43718 (patch) | |
tree | 8653cb30fc60196277bcabeda03bda94a627cc55 /zebra/zebra_rnh.c | |
parent | zebra: Create the SAFI_MULTICAST rnh tables (diff) | |
download | frr-027db4691747355140e182902ec6412579e43718.tar.xz frr-027db4691747355140e182902ec6412579e43718.zip |
lib, zebra: Send safi for rnh resolution
Pass down the safi for when we need address
resolution. At this point in time we are
hard coding the safi to SAFI_UNICAST.
Future commits will take advantage of this.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_rnh.c')
-rw-r--r-- | zebra/zebra_rnh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 1d33d5f4a..f5faaab71 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -1173,6 +1173,7 @@ int zebra_send_rnh_update(struct rnh *rnh, struct zserv *client, SET_FLAG(message, ZAPI_MESSAGE_SRTE); stream_putl(s, message); + stream_putw(s, rnh->safi); stream_putw(s, rn->p.family); switch (rn->p.family) { case AF_INET: |