summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/ofproto/ofproto_v1_0_parser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ryu/ofproto/ofproto_v1_0_parser.py b/ryu/ofproto/ofproto_v1_0_parser.py
index 96781ff8..95c60b77 100644
--- a/ryu/ofproto/ofproto_v1_0_parser.py
+++ b/ryu/ofproto/ofproto_v1_0_parser.py
@@ -459,9 +459,9 @@ class OFPActionVendor(OFPAction):
return cls
return _register_action_vendor
- def __init__(self, vendor):
+ def __init__(self):
super(OFPActionVendor, self).__init__()
- self.vendor = vendor
+ self.vendor = self.cls_vendor
@classmethod
def parser(cls, buf, offset):
@@ -484,7 +484,7 @@ class NXActionHeader(OFPActionVendor):
return _register_nx_action_subtype
def __init__(self, subtype_, len_):
- super(NXActionHeader, self).__init__(ofproto_v1_0.NX_VENDOR_ID)
+ super(NXActionHeader, self).__init__()
self.len = len_
self.subtype = subtype_