X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif-netdev.c;h=21f0d9a58e1170c2b82d7ea2139b533decca53b7;hb=e0eecb1ca122bd8a22058e42161bd93c8474a74f;hp=9305b36203efccee34e3e9c90dc04c11cddb43d2;hpb=855dd13c9a459c3dac41043c4d5bb7ecc7eaba72;p=sliver-openvswitch.git diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 9305b3620..21f0d9a58 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -1713,7 +1713,7 @@ dp_netdev_flow_used(struct dp_netdev_flow *netdev_flow, const struct ofpbuf *packet, const struct flow *key) { - uint16_t tcp_flags = packet_get_tcp_flags(packet, key); + uint16_t tcp_flags = ntohs(key->tcp_flags); long long int now = time_msec(); struct dp_netdev_flow_stats *bucket;