mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 14:26:10 +02:00
add missing 'field' parameter to __init__ function of OFPActionSetField
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
93ae92dca0
commit
fc00f7c9cf
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user