From a15f0eeb9cf4b09403bed3c361a5150dbff16fc3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 25 Jan 2012 16:58:08 -0800 Subject: [PATCH] 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 --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 05040261..7fa4eac2 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; } -- 2.30.2