X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.c;h=52a996a54cc7acfab9ef0d5b9f66aaf71eef039a;hb=36ce148c6d2105dc2e485ec169bcc9998ffebf9d;hp=5f7937f642e26516ad3e788994cb491cb507d8b2;hpb=eb6e978cc1119c651efe48aeffc22e1827e4458a;p=openvswitch diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 5f7937f6..52a996a5 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -1868,7 +1868,7 @@ make_packet_out(const struct ofpbuf *packet, uint32_t buffer_id, opo->header.length = htons(size); opo->header.xid = htonl(0); opo->buffer_id = htonl(buffer_id); - opo->in_port = htons(in_port == OVSP_LOCAL ? OFPP_LOCAL : in_port); + opo->in_port = htons(in_port); opo->actions_len = htons(actions_len); ofpbuf_put(out, actions, actions_len); if (packet) {