From 9a9f89267a4aaf2904673b204a21e05e0832bbef Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 13 Feb 2018 21:30:03 -0500 Subject: [PATCH] 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 type != re->type)) zsend_route_notify_owner(old, p, ZAPI_ROUTE_BETTER_ADMIN_WON); /* -- 2.39.5