diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-12 19:36:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-12 19:36:02 -0500 |
| commit | 7a197b9269b4f06186b6a186f07041d6a6adefd9 (patch) | |
| tree | 76f6a321ac9bf549a76cd392b3fb31b1774a9501 /zebra/zebra_rib.c | |
| parent | 7e737f3d4070c70bd052ece58126769fd972daa9 (diff) | |
| parent | 8263d1d0d9fe50186fee8883dd5b6a1723e23720 (diff) | |
Merge pull request #3778 from mjstapp/fix_dplane_update
zebra: use update semantics for routes consistently
Diffstat (limited to 'zebra/zebra_rib.c')
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index dcc5a7acb0..8afcc2b685 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1089,7 +1089,7 @@ void rib_install_kernel(struct route_node *rn, struct route_entry *re, hook_call(rib_update, rn, "installing in kernel"); /* Send add or update */ - if (old && (old != re)) + if (old) ret = dplane_route_update(rn, re, old); else ret = dplane_route_add(rn, re); |
