projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d4605f
)
ofproto: Fix typo in handle_nxt_set_packet_in_format().
author
Ben Pfaff
<blp@nicira.com>
Thu, 26 Jan 2012 00:58:08 +0000
(16:58 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 27 Jan 2012 00:06:13 +0000
(16:06 -0800)
NXFF_OPENFLOW10 and NXPIF_OPENFLOW10 have the same value (both zero), so
this doesn't fix an actual bug.
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 0504026114b82d568f608bed590fba1d7a9e4cb2..7fa4eac28a661012bab33b9f9c2d1af6f3a0942e 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-2880,7
+2880,7
@@
handle_nxt_set_packet_in_format(struct ofconn *ofconn,
msg = (const struct nx_set_packet_in_format *) oh;
format = ntohl(msg->format);
- if (format != NX
F
F_OPENFLOW10 && format != NXPIF_NXM) {
+ if (format != NX
PI
F_OPENFLOW10 && format != NXPIF_NXM) {
return OFPERR_OFPBRC_EPERM;
}