summaryrefslogtreecommitdiff
path: root/zebra/zebra_srte.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_srte.c')
-rw-r--r--zebra/zebra_srte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_srte.c b/zebra/zebra_srte.c
index 0fa054105e..d87b3149a6 100644
--- a/zebra/zebra_srte.c
+++ b/zebra/zebra_srte.c
@@ -196,7 +196,7 @@ static void zebra_sr_policy_notify_update(struct zebra_sr_policy *policy)
exit(1);
}
- rnh = zebra_lookup_rnh(&p, zvrf_id(zvrf));
+ rnh = zebra_lookup_rnh(&p, zvrf_id(zvrf), SAFI_UNICAST);
if (!rnh)
return;