summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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