From: Ben Pfaff Date: Thu, 26 Jan 2012 00:58:08 +0000 (-0800) Subject: ofproto: Fix typo in handle_nxt_set_packet_in_format(). X-Git-Tag: sliver-openvswitch-0.1-1~422 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a15f0eeb9cf4b09403bed3c361a5150dbff16fc3;p=sliver-openvswitch.git ofproto: Fix typo in handle_nxt_set_packet_in_format(). NXFF_OPENFLOW10 and NXPIF_OPENFLOW10 have the same value (both zero), so this doesn't fix an actual bug. Signed-off-by: Ben Pfaff --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 050402611..7fa4eac28 100644 --- 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 != NXFF_OPENFLOW10 && format != NXPIF_NXM) { + if (format != NXPIF_OPENFLOW10 && format != NXPIF_NXM) { return OFPERR_OFPBRC_EPERM; }