diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-06-22 17:18:32 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-06-22 17:18:32 +0900 |
commit | 3aeeffa48cdea6de061dbc3595eb6446544bfc46 (patch) | |
tree | d9c841ca7f6ee6d4578ab1065a5a12aa3755f78e | |
parent | 9b0754944f2694ae3635f48c48787937a8e98486 (diff) |
bgp: fix best_path_change_handler for best_path_lost
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/info_base/ipv4.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |