From e3a3c7dc0c5857a315bb158b30ce6eb3a69302f7 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Tue, 6 May 2014 08:10:32 +0000 Subject: [PATCH] bgp: fix typo Signed-off-by: ISHIDA Wataru Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/peer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/services/protocols/bgp/peer.py b/ryu/services/protocols/bgp/peer.py index 2f25d3dc..0779206f 100644 --- a/ryu/services/protocols/bgp/peer.py +++ b/ryu/services/protocols/bgp/peer.py @@ -455,7 +455,7 @@ class Peer(Source, Sink, NeighborConfListener, Activity): Update appropriate counters and set appropriate timers. """ - assert rr_msg.TYPE_CODE == BGP_MSG_ROUTE_REFRESH + assert rr_msg.type == BGP_MSG_ROUTE_REFRESH self._protocol.send(rr_msg) LOG.debug('RouteRefresh %s>> %s' % (self._neigh_conf.ip_address, rr_msg))