Signed-off-by: IWAMOTO Toshihiro <iwam...@valinux.co.jp>
---
 ryu/lib/stringify.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ryu/lib/stringify.py b/ryu/lib/stringify.py
index 8a865b7..5d22979 100644
--- a/ryu/lib/stringify.py
+++ b/ryu/lib/stringify.py
@@ -85,14 +85,14 @@ class NXFlowSpecFieldType(TypeDescr):
         if not isinstance(v, tuple):
             return v
         field, ofs = v
-        return [AsciiStringType.encode(field), ofs]
+        return [field, ofs]
 
     @staticmethod
     def decode(v):
         if not isinstance(v, list):
             return v
         field, ofs = v
-        return (AsciiStringType.decode(field), ofs)
+        return (field, ofs)
 
 
 _types = {
-- 
2.1.4


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to