diff --git a/scapy/contrib/openflow3.py b/scapy/contrib/openflow3.py index 64828722fa890b7beda48287604d49bbde029605..ace4dd3d81a34e4ee8702f47a516f73d7d1bd025 100755 --- a/scapy/contrib/openflow3.py +++ b/scapy/contrib/openflow3.py @@ -3353,11 +3353,11 @@ def OpenFlow(self, payload): # err_type is a short int, but last byte is enough if err_type == 255: err_type = 65535 return ofp_error_cls[err_type] - elif of_type == 16: + elif of_type == 18: mp_type = ord(payload[9]) if mp_type == 255: mp_type = 65535 return ofp_multipart_request_cls[mp_type] - elif of_type == 17: + elif of_type == 19: mp_type = ord(payload[9]) if mp_type == 255: mp_type = 65535 return ofp_multipart_reply_cls[mp_type]