X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fnetflow.c;h=bf2e6287197034904875c82fa0826e81ee80329c;hb=6161d3fd928edf7016abae60f549a135a2f83f09;hp=9d9ef19809a7919f661f2dfe34a32726c5ffd79a;hpb=7257b535ab8e5fafd811c5f6788205eefdd44948;p=openvswitch diff --git a/ofproto/netflow.c b/ofproto/netflow.c index 9d9ef198..bf2e6287 100644 --- a/ofproto/netflow.c +++ b/ofproto/netflow.c @@ -160,7 +160,7 @@ gen_netflow_rec(struct netflow *nf, struct netflow_flow *nf_flow, } nf_rec->tcp_flags = nf_flow->tcp_flags; nf_rec->ip_proto = expired->flow.nw_proto; - nf_rec->ip_tos = expired->flow.tos_frag & IP_DSCP_MASK; + nf_rec->ip_tos = expired->flow.nw_tos & IP_DSCP_MASK; /* NetFlow messages are limited to 30 records. */ if (ntohs(nf_hdr->count) >= 30) {