]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #3778 from mjstapp/fix_dplane_update
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Feb 2019 00:36:02 +0000 (19:36 -0500)
committerGitHub <noreply@github.com>
Wed, 13 Feb 2019 00:36:02 +0000 (19:36 -0500)
zebra: use update semantics for routes consistently

zebra/zebra_rib.c

index dcc5a7acb00ee0d70c82a0097ca107bba8550a4b..8afcc2b685cb0ac9919ff0e112379c4a3964aa42 100644 (file)
@@ -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);