Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/ofproto/ofproto_v1_3_parser.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ryu/ofproto/ofproto_v1_3_parser.py 
b/ryu/ofproto/ofproto_v1_3_parser.py
index 64c5ae2..77b104e 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -81,10 +81,10 @@ class OFPHello(MsgBase):
 
 
 class OFPHelloElemVersionBitmap(StringifyMixin):
-    def __init__(self, versions):
+    def __init__(self, versions, type_=None, length=None):
         super(OFPHelloElemVersionBitmap, self).__init__()
-        self._type = ofproto_v1_3.OFPHET_VERSIONBITMAP
-        self._length = None
+        self.type = ofproto_v1_3.OFPHET_VERSIONBITMAP
+        self.length = None
         self._bitmaps = None
         self.versions = versions
 
@@ -109,7 +109,7 @@ class OFPHelloElemVersionBitmap(StringifyMixin):
                     for i, bitmap in enumerate(bitmaps)
                     for shift in range(31) if bitmap & (1 << shift)]
         elem = cls(versions)
-        elem._length = length
+        elem.length = length
         elem._bitmaps = bitmaps
         return elem
 
-- 
1.8.3.1


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to