fix a syntax bug and typo.

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/ofproto/ofproto_v1_0_parser.py |    6 +++---
 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 6a9a917..b890842 100644
--- a/ryu/ofproto/ofproto_v1_0_parser.py
+++ b/ryu/ofproto/ofproto_v1_0_parser.py
@@ -502,9 +502,9 @@ class NXActionRegMove(NXActionHeader):
 
     @classmethod
     def parser(cls, buf, offset):
-        type_, len_, vendor, subtype, n_bits, src_ofs, dst_ofs,
-        src, dst = struct.unpack_from(
-            ofprot_v1_0.NX_ACTION_REG_MOVE_PACK_STR, buf, offset)
+        (type_, len_, vendor, subtype, n_bits, src_ofs, dst_ofs,
+         src, dst) = struct.unpack_from(
+            ofproto_v1_0.NX_ACTION_REG_MOVE_PACK_STR, buf, offset)
         return cls(n_bits, src_ofs, dst_ofs, src, dst)
 
 
-- 
1.7.4.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to