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/redistribute.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/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 42f8c812b4..4e0163f8ac 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -696,7 +696,7 @@ int zebra_del_import_table_entry(struct zebra_vrf *zvrf, struct route_node *rn,  	prefix_copy(&p, &rn->p);  	rib_delete(afi, SAFI_UNICAST, zvrf->vrf->vrf_id, ZEBRA_ROUTE_TABLE, -		   re->table, re->flags, &p, NULL, re->ng->nexthop, +		   re->table, re->flags, &p, NULL, re->ng->nexthop, re->nhe_id,  		   zvrf->table_id, re->metric, re->distance, false);  	return 0;  | 
