X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=00fb9b5506e2a0ff2ff9ed0a8753774717caee34;hb=fb892732bac6787c6fb943554f8000e26477dd85;hp=18d3e029edbfa57a511440e6b8c85af8f0530f10;hpb=39997502e46f49f4f7eaa994d1883c76e0c23451;p=openvswitch diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 18d3e029..00fb9b55 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1860,7 +1860,8 @@ handle_features_request(struct ofproto *p, struct ofconn *ofconn, osf->n_buffers = htonl(pktbuf_capacity()); osf->n_tables = 2; osf->capabilities = htonl(OFPC_FLOW_STATS | OFPC_TABLE_STATS | - OFPC_PORT_STATS | OFPC_MULTI_PHY_TX); + OFPC_PORT_STATS | OFPC_MULTI_PHY_TX | + OFPC_ARP_MATCH_IP); osf->actions = htonl((1u << OFPAT_OUTPUT) | (1u << OFPAT_SET_VLAN_VID) | (1u << OFPAT_SET_VLAN_PCP) | @@ -2635,7 +2636,7 @@ flow_stats_ds_cb(struct cls_rule *rule_, void *cbdata_) } query_stats(cbdata->ofproto, rule, &packet_count, &byte_count); - flow_to_ovs_match(&rule->cr.flow, rule->cr.wc.wildcards, &match); + flow_to_match(&rule->cr.flow, rule->cr.wc.wildcards, &match); ds_put_format(results, "duration=%llds, ", (time_msec() - rule->created) / 1000);