X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=3c4184f32c8a54c6720f2c7fee57ffe30b820bf9;hb=2e1bfcb6315704b804add452ca6d1324dac5b45c;hp=5cf1a6a28265138564ba5c06eedf27c281525c3d;hpb=5cb7a798405c6ccc07bf9a932b709643c072b086;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 5cf1a6a28..3c4184f32 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2130,7 +2130,7 @@ handle_packet_out(struct ofconn *ofconn, const struct ofp_header *oh) goto exit_free_ofpacts; } if (po.in_port >= p->max_ports && po.in_port < OFPP_MAX) { - error = OFPERR_NXBRC_BAD_IN_PORT; + error = OFPERR_OFPBRC_BAD_PORT; goto exit_free_ofpacts; }