diff options
-rw-r--r-- | ryu/ofproto/ofproto_v1_3_parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index bec72344..9d06d331 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -1825,8 +1825,9 @@ class OFPActionPopMpls(OFPAction): @OFPAction.register_action_type(ofproto_v1_3.OFPAT_SET_FIELD, ofproto_v1_3.OFP_ACTION_SET_FIELD_SIZE) class OFPActionSetField(OFPAction): - def __init__(self): + def __init__(self, field): super(OFPActionSetField, self).__init__() + set.field = field @classmethod def parser(cls, buf, offset): |