diff options
-rw-r--r-- | ryu/ofproto/ofproto_v1_4_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index d3cd20e5..91a2f091 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v1_4_parser.py @@ -2637,7 +2637,7 @@ class OFPQueueDescStatsReply(OFPMultipartReply): super(OFPQueueDescStatsReply, self).__init__(datapath, **kwargs) -class OFPQueueProp(OFPPropBase): +class OFPQueueStatsProp(OFPPropBase): _TYPES = {} @@ -2664,7 +2664,7 @@ class OFPQueueStats(StringifyMixin): props = [] rest = buf[offset + ofproto.OFP_QUEUE_STATS_SIZE:offset + length] while rest: - p, rest = OFPQueueProp.parse(rest) + p, rest = OFPQueueStatsProp.parse(rest) props.append(p) stats = cls(length, port_no, queue_id, tx_bytes, tx_packets, tx_errors, duration_sec, duration_nsec, props) |