X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=ofproto%2Fofproto.c;h=461053ab430e80d5d381797fd1235f1b9719f76b;hb=abfec865566e6cce961cc8660de1ddfdc85dae5f;hp=52e4fe3b622ad9f9ec435fceb1c1419f512f7444;hpb=8084a2800f82c6d0ec438cb8f2de24518af2c712;p=openvswitch diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 52e4fe3b..461053ab 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3388,8 +3388,7 @@ update_stats(struct ofproto *ofproto, struct rule *rule, update_time(ofproto, rule, stats); rule->packet_count += stats->n_packets; rule->byte_count += stats->n_bytes; - netflow_flow_update_flags(&rule->nf_flow, stats->ip_tos, - stats->tcp_flags); + netflow_flow_update_flags(&rule->nf_flow, stats->tcp_flags); } } @@ -4211,7 +4210,7 @@ active_timeout(struct ofproto *ofproto, struct rule *rule) if (odp_flow.stats.n_packets) { update_time(ofproto, rule, &odp_flow.stats); - netflow_flow_update_flags(&rule->nf_flow, odp_flow.stats.ip_tos, + netflow_flow_update_flags(&rule->nf_flow, odp_flow.stats.tcp_flags); } }