X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.c;h=a4b1f5fc61dcb8c3e761f13c28bd795eb14df23c;hb=df2c07f4338faac04f4969f243fe4e8083b309ac;hp=b0e74055dcdbc4f2e8b5f1b43d3afd0b59678bff;hpb=1c313b88e1ba908b4f30ce2b3702d57e8f4d9a38;p=openvswitch diff --git a/lib/ofp-util.c b/lib/ofp-util.c index b0e74055..a4b1f5fc 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -1883,7 +1883,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 == ODPP_LOCAL ? OFPP_LOCAL : in_port); + opo->in_port = htons(in_port == OVSP_LOCAL ? OFPP_LOCAL : in_port); opo->actions_len = htons(actions_len); ofpbuf_put(out, actions, actions_len); if (packet) {