X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.c;fp=ofproto%2Fofproto.c;h=dabb590d3e55027219feb9fca6275291d91e9ffc;hb=72e8bf28bb38e8816435c64859fb350215b6a9e6;hp=8bc9b590c50a3e44bc73fa4a7396b6393786ac64;hpb=24f974c481bc5230552b23d96312f645f7533cd3;p=openvswitch diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 8bc9b590..dabb590d 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2171,7 +2171,7 @@ rule_execute(struct rule *rule, uint16_t in_port, struct ofpbuf *packet) assert(ofpbuf_headroom(packet) >= sizeof(struct ofp_packet_in)); - flow_extract(packet, 0, NULL, in_port, &flow); + flow_extract(packet, 0, 0, NULL, in_port, &flow); return rule->ofproto->ofproto_class->rule_execute(rule, &flow, packet); } @@ -2360,7 +2360,7 @@ handle_packet_out(struct ofconn *ofconn, const struct ofp_header *oh) } /* Verify actions against packet, then send packet if successful. */ - flow_extract(payload, 0, NULL, po.in_port, &flow); + flow_extract(payload, 0, 0, NULL, po.in_port, &flow); error = ofpacts_check(po.ofpacts, po.ofpacts_len, &flow, p->max_ports); if (!error) { error = p->ofproto_class->packet_out(p, payload, &flow,