summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-10-21 15:16:21 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-03-27 14:51:00 +0200
commite9ac2861e521c2b35ffa1319a6d38fb3453e83a4 (patch)
treef67eb79635d5e4e5805adc27d1df6c93996a4975 /zebra/zapi_msg.c
parentbc9b1cbfae30d2b06198ee6d26a12a541f7e79a9 (diff)
zebra: register NHT nexthops with proper SAFI
Just a small puzzle piece missing in zebra SAFI NHT support. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index e94aee5c1a..fd475e4cee 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1215,7 +1215,7 @@ static void zread_rnh_register(ZAPI_HANDLER_ARGS)
p.family);
return;
}
- rnh = zebra_add_rnh(&p, zvrf_id(zvrf), &exist);
+ rnh = zebra_add_rnh(&p, zvrf_id(zvrf), safi, &exist);
if (!rnh)
return;