diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2014-05-06 08:10:32 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-05-10 01:14:56 +0900 |
commit | e3a3c7dc0c5857a315bb158b30ce6eb3a69302f7 (patch) | |
tree | baaa5e509cdaf6e984e767226b668ed6822937bc | |
parent | 4f8d7a141188cebf3ecd949becd916af6c9ffc2d (diff) |
bgp: fix typo
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/peer.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |