Fix another regression of commit 3b3bcaa7591e3f11f328d82bee3800f407f14e3d.

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/ofproto/nx_match.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py
index d115feb..56527d9 100644
--- a/ryu/ofproto/nx_match.py
+++ b/ryu/ofproto/nx_match.py
@@ -351,7 +351,7 @@ class MFField(object):
 
     def putw(self, buf, offset, value, mask):
         len_ = self._put(buf, offset, value)
-        return len + self._put(buf, offset + len_, mask)
+        return len_ + self._put(buf, offset + len_, mask)
 
     def _is_all_ones(self, value):
         return value == (1 << self.n_bits) - 1
-- 
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