diff options
-rw-r--r-- | ryu/ofproto/ofproto_v1_3_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 223cd08c..79944694 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -1485,7 +1485,7 @@ class OFPPort(ofproto_parser.namedtuple('OFPPort', ( def parser(cls, buf, offset): port = struct.unpack_from(ofproto_v1_3.OFP_PORT_PACK_STR, buf, offset) ofpport = cls(*port) - ofpport.length = ofproto_v1_3.OFP_PORT_SIZE + ofpport._length = ofproto_v1_3.OFP_PORT_SIZE return ofpport |