diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-09-24 16:58:27 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-27 15:26:05 -0400 |
| commit | 027db4691747355140e182902ec6412579e43718 (patch) | |
| tree | 8653cb30fc60196277bcabeda03bda94a627cc55 /zebra/zebra_srte.c | |
| parent | a4598b97d93937eead669d406afa91fd070de83b (diff) | |
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_srte.c')
| -rw-r--r-- | zebra/zebra_srte.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_srte.c b/zebra/zebra_srte.c index d87b3149a6..7933ef66b1 100644 --- a/zebra/zebra_srte.c +++ b/zebra/zebra_srte.c @@ -116,6 +116,7 @@ static int zebra_sr_policy_notify_update_client(struct zebra_sr_policy *policy, SET_FLAG(message, ZAPI_MESSAGE_SRTE); stream_putl(s, message); + stream_putw(s, SAFI_UNICAST); switch (policy->endpoint.ipa_type) { case IPADDR_V4: stream_putw(s, AF_INET); |
