Signed-off-by: OHMURA Kei <[email protected]>
---
ryu/ofproto/ofproto_v1_2.py | 2 +-
ryu/ofproto/ofproto_v1_2_parser.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py
index 7c9227c..eb0d648 100644
--- a/ryu/ofproto/ofproto_v1_2.py
+++ b/ryu/ofproto/ofproto_v1_2.py
@@ -92,7 +92,7 @@ OFPP_FLOOD = 0xfffffffb # All physical ports except
input port and
OFPP_ALL = 0xfffffffc # All physical ports except input port.
OFPP_CONTROLLER = 0xfffffffd # Send to controller.
OFPP_LOCAL = 0xfffffffe # Local openflow "port".
-OFPP_NONE = 0xffffffff # Not associated with a physical port.
+OFPP_ANY = 0xffffffff # Not associated with a physical port.
# enum ofp_port_features
OFPPF_10MB_HD = 1 << 0 # 10 Mb half-duplex rate support.
diff --git a/ryu/ofproto/ofproto_v1_2_parser.py
b/ryu/ofproto/ofproto_v1_2_parser.py
index 2d7bbe2..9b234d4 100644
--- a/ryu/ofproto/ofproto_v1_2_parser.py
+++ b/ryu/ofproto/ofproto_v1_2_parser.py
@@ -286,7 +286,7 @@ class OFPPortStatus(MsgBase):
ofproto_v1_2.OFP_PORT_STATUS_PACK_STR, msg.buf,
ofproto_v1_2.OFP_HEADER_SIZE)
msg.desc = OFPPort.parser(msg.buf,
- OFP_PORT_STATUS_DESC_OFFSET)
+ ofproto_v1_2.OFP_PORT_STATUS_DESC_OFFSET)
return msg
--
1.7.5.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