diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-08-01 17:36:56 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:42 -0400 |
| commit | bc541126e4058b6139f6b693a1adc9af2332317d (patch) | |
| tree | 2bf53a2d9f076dcd1c352459476553ccdee75d91 /zebra/zapi_msg.c | |
| parent | 815059466cdfb022ff5beec55f7ffee649db7600 (diff) | |
zebra: Use nexthop object id on route delete
When we receive a route delete from the kernel and it
contains a nexthop object id, use that to match against
route gateways with instead of explicit nexthops.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zapi_msg.c')
| -rw-r--r-- | zebra/zapi_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c index ecbf39dda0..ab4c246d16 100644 --- a/zebra/zapi_msg.c +++ b/zebra/zapi_msg.c @@ -1635,7 +1635,7 @@ static void zread_route_del(ZAPI_HANDLER_ARGS) table_id = zvrf->table_id; rib_delete(afi, api.safi, zvrf_id(zvrf), api.type, api.instance, - api.flags, &api.prefix, src_p, NULL, table_id, api.metric, + api.flags, &api.prefix, src_p, NULL, 0, table_id, api.metric, api.distance, false); /* Stats */ |
