From: Zhang Dongya <[email protected]>
---
ryu/ofproto/ofproto_v1_3_parser.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py
b/ryu/ofproto/ofproto_v1_3_parser.py
index 9d06d33..0d0bc66 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -1789,7 +1789,7 @@ class OFPActionPushMpls(OFPAction):
def serialize(self, buf, offset):
msg_pack_into(ofproto_v1_3.OFP_ACTION_PUSH_PACK_STR, buf, offset,
- self.ethertype)
+ self.type, self.len, self.ethertype)
@OFPAction.register_action_type(ofproto_v1_3.OFPAT_POP_VLAN,
@@ -1819,7 +1819,7 @@ class OFPActionPopMpls(OFPAction):
def serialize(self, buf, offset):
msg_pack_into(ofproto_v1_3.OFP_ACTION_POP_MPLS_PACK_STR, buf, offset,
- self.ethertype)
+ self.type, self.len, self.ethertype)
@OFPAction.register_action_type(ofproto_v1_3.OFPAT_SET_FIELD,
--
1.7.12.4
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel