diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-03-28 08:23:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-28 08:23:36 -0400 |
| commit | 80e39114b502f683638c58de94e4125fc85a3478 (patch) | |
| tree | b93d428723e0da14d318ec3a05b4d165faa700d4 /pbrd/pbr_zebra.c | |
| parent | 7993f685c1df878d1ff1ff1e4794f6eef95d6fbd (diff) | |
| parent | 6bcc46657efbab070d36487b690258f8fa2bafbb (diff) | |
Merge pull request #10897 from opensourcerouting/safi-nht
zebra,staticd,*: SAFI_MULTICAST NHT groundwork
Diffstat (limited to 'pbrd/pbr_zebra.c')
| -rw-r--r-- | pbrd/pbr_zebra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c index f992588729..da4e3e1bc0 100644 --- a/pbrd/pbr_zebra.c +++ b/pbrd/pbr_zebra.c @@ -485,7 +485,8 @@ void pbr_send_rnh(struct nexthop *nhop, bool reg) break; } - if (zclient_send_rnh(zclient, command, &p, false, false, nhop->vrf_id) + if (zclient_send_rnh(zclient, command, &p, SAFI_UNICAST, false, false, + nhop->vrf_id) == ZCLIENT_SEND_FAILURE) { zlog_warn("%s: Failure to send nexthop to zebra", __func__); } |
