[ovs-dev] [PATCH] ofp-util: Fix a typo in ofputil_decode_ofp11_port
kmindg
kmindg at gmail.com
Wed Feb 19 13:45:46 UTC 2014
Signed-off-by: kmindg <kmindg at gmail.com>
---
lib/ofp-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 7de82c6..aa25e67 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -3640,7 +3640,7 @@ ofputil_decode_ofp11_port(struct ofputil_phy_port *pp,
ovs_strlcpy(pp->name, op->name, OFP_MAX_PORT_NAME_LEN);
pp->config = ntohl(op->config) & OFPPC11_ALL;
- pp->state = ntohl(op->state) & OFPPC11_ALL;
+ pp->state = ntohl(op->state) & OFPPS11_ALL;
pp->curr = netdev_port_features_from_ofp11(op->curr);
pp->advertised = netdev_port_features_from_ofp11(op->advertised);
--
1.9.0
More information about the dev
mailing list