summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-06-20 15:52:01 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-06-22 12:32:39 +0900
commit602cf17b4012ab69bfcb71429dbba1652ea86e8f (patch)
treeeb7f3bc82fbcbe1ae0a3ef8cc5c17d7a33f38519
parent2814715ef998c92084386e5cb5191f32149b32f3 (diff)
bgp: fix another crash (recv_open -> recv_open_msg)
Tested-by: Itsuro ODA <oda@valinux.co.jp> Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/services/protocols/bgp/processor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/processor.py b/ryu/services/protocols/bgp/processor.py
index 4180610d..b255f050 100644
--- a/ryu/services/protocols/bgp/processor.py
+++ b/ryu/services/protocols/bgp/processor.py
@@ -466,7 +466,7 @@ def _cmp_by_router_id(local_asn, path1, path2):
if path_source is None:
return local_bgp_id
else:
- return path_source.protocol.recv_open.bgp_identifier
+ return path_source.protocol.recv_open_msg.bgp_identifier
path_source1 = path1.source
path_source2 = path2.source