summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-10-04 12:21:45 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-03-27 14:57:22 +0200
commiteb3c9d97747bd0346a5ea951960c994dc2871ab3 (patch)
tree37c26069b60ce9c7a3abd0a560d1f97e9eecaeea /pbrd
parentzebra: `show ip nht mrib` (diff)
downloadfrr-eb3c9d97747bd0346a5ea951960c994dc2871ab3.tar.xz
frr-eb3c9d97747bd0346a5ea951960c994dc2871ab3.zip
*: add SAFI argument to zclient_send_rnh
Just pushing that SAFI_UNICAST up 1 level to the caller. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_zebra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index f99258872..da4e3e1bc 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__);
}