of1.2: fix typo

Signed-off-by: OHMURA Kei <ohmura.kei@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
OHMURA Kei 2012-06-18 22:37:45 +09:00 committed by FUJITA Tomonori
parent 83f1f43753
commit 1dabff331c
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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