ofp-errors: Use OFPERR_OFPBRC_BAD_PORT
[sliver-openvswitch.git] / ofproto / ofproto.c
index 5cf1a6a..3c4184f 100644 (file)
@@ -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;
     }