summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/services/protocols/bgp/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/services/protocols/bgp/base.py b/ryu/services/protocols/bgp/base.py
index 713622d3..dd658aa7 100644
--- a/ryu/services/protocols/bgp/base.py
+++ b/ryu/services/protocols/bgp/base.py
@@ -495,6 +495,9 @@ class Sink(object):
return outgoing_msg
+ # For Python 3 compatibility
+ __next__ = next
+
#
# Source