Skip to content

Commit

Permalink
ofp-util: Fix a typo in ofputil_decode_ofp11_port
Browse files Browse the repository at this point in the history
Signed-off-by: kmindg <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
kmindg authored and blp committed Feb 19, 2014
1 parent 982a47e commit 646f2b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Jun Nakajima [email protected]
Justin Pettit [email protected]
Keith Amidon [email protected]
Ken Ajiro [email protected]
Kmindg G [email protected]
Krishna Kondaka [email protected]
Kyle Mestery [email protected]
Leo Alterman [email protected]
Expand Down
2 changes: 1 addition & 1 deletion lib/ofp-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 646f2b3

Please sign in to comment.