]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix situation where we would notify the owner it lost due to admin distance
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Feb 2018 02:30:03 +0000 (21:30 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Feb 2018 19:45:57 +0000 (14:45 -0500)
commit9a9f89267a4aaf2904673b204a21e05e0832bbef
tree83e36c94789a73c3383256e384a70ddf4091aef8
parenteaa23e020fdd139639a060e924f3a524d8f50393
zebra: Fix situation where we would notify the owner it lost due to admin distance

The 'struct route_entry *old' and 'struct route_entry *new' can sometimes
be the same route type( for a route replace ), so when we are checking
to see if a new owner has taken over, don't tell the owner it is
replacing it self.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
zebra/zebra_rib.c