diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-09-24 11:04:03 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-27 12:38:08 -0400 |
| commit | 6071e5e96e9fd2a4f662ea94363ecabb7e5b81d2 (patch) | |
| tree | 6694a88deccc8cd6812d62f2b8837f56a8b02d56 /zebra/zebra_srte.c | |
| parent | 7272e2a461ad4d9015634f3e2a73502518e53873 (diff) | |
zebra: remove 'enum rnh_type' from system
This code is now dead code since there are not two
nexthop resolution types.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_srte.c')
| -rw-r--r-- | zebra/zebra_srte.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_srte.c b/zebra/zebra_srte.c index ba3727371c..0fa054105e 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_NEXTHOP_TYPE); + rnh = zebra_lookup_rnh(&p, zvrf_id(zvrf)); if (!rnh) return; @@ -205,8 +205,8 @@ static void zebra_sr_policy_notify_update(struct zebra_sr_policy *policy) zebra_sr_policy_notify_update_client(policy, client); else /* Fallback to the IGP shortest path. */ - zebra_send_rnh_update(rnh, client, RNH_NEXTHOP_TYPE, - zvrf_id(zvrf), policy->color); + zebra_send_rnh_update(rnh, client, zvrf_id(zvrf), + policy->color); } } |
