From 3aeeffa48cdea6de061dbc3595eb6446544bfc46 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sun, 22 Jun 2014 17:18:32 +0900 Subject: bgp: fix best_path_change_handler for best_path_lost Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/info_base/ipv4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/info_base/ipv4.py b/ryu/services/protocols/bgp/info_base/ipv4.py index de0d4c77..13d7f62d 100644 --- a/ryu/services/protocols/bgp/info_base/ipv4.py +++ b/ryu/services/protocols/bgp/info_base/ipv4.py @@ -37,8 +37,9 @@ class IPv4Dest(Destination, NonVrfPathProcessingMixin): ROUTE_FAMILY = RF_IPv4_UC def _best_path_lost(self): + old_best_path = self._best_path NonVrfPathProcessingMixin._best_path_lost(self) - self._core_service._signal_bus.best_path_changed(self) + self._core_service._signal_bus.best_path_changed(old_best_path) def _new_best_path(self, best_path): NonVrfPathProcessingMixin._new_best_path(self, best_path) -- cgit v1.2.3