netflow: Report largest possible value when counters exceed 32 bits.
authorBen Pfaff <blp@nicira.com>
Thu, 14 May 2009 23:25:12 +0000 (16:25 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 14 May 2009 23:25:12 +0000 (16:25 -0700)
commit25a72c9a80157fe87847582f14fa82e0c82a3dbb
treed657767873991687d77150de5fd5b013bc5106d2
parente84053950a52f4dfd80ef00d87c329739819036b
netflow: Report largest possible value when counters exceed 32 bits.

secchan tracks packets and bytes using 64-bit counters, but the
corresponding NetFlow v5 fields are only 32 bits wide.  Until now we would
just report the lower 32 bits on overflow; this commit changes the
behavior to reporting 0xffffffff instead.

Bug #1316.
secchan/netflow.c