summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-03-28 08:23:36 -0400
committerGitHub <noreply@github.com>2022-03-28 08:23:36 -0400
commit80e39114b502f683638c58de94e4125fc85a3478 (patch)
treeb93d428723e0da14d318ec3a05b4d165faa700d4 /sharpd/sharp_zebra.c
parent7993f685c1df878d1ff1ff1e4794f6eef95d6fbd (diff)
parent6bcc46657efbab070d36487b690258f8fa2bafbb (diff)
Merge pull request #10897 from opensourcerouting/safi-nht
zebra,staticd,*: SAFI_MULTICAST NHT groundwork
Diffstat (limited to 'sharpd/sharp_zebra.c')
-rw-r--r--sharpd/sharp_zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 52364bff41..b40c2c6228 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -631,7 +631,8 @@ void sharp_zebra_nexthop_watch(struct prefix *p, vrf_id_t vrf_id, bool import,
if (!watch)
command = ZEBRA_NEXTHOP_UNREGISTER;
- if (zclient_send_rnh(zclient, command, p, connected, false, vrf_id)
+ if (zclient_send_rnh(zclient, command, p, SAFI_UNICAST, connected,
+ false, vrf_id)
== ZCLIENT_SEND_FAILURE)
zlog_warn("%s: Failure to send nexthop to zebra", __func__);
}