cvs commit: src/sys/netgraph/netflow netflow.c
glebius at FreeBSD.org
Thu Mar 10 06:44:26 PST 2005
glebius 2005-03-10 14:44:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such
precision when IP packet may travel through internet for several seconds.
Also uptime measured in milliseconds overflows every 48+ days.
But we have to do same to keep compatibility with Cisco and flow-tools.
Make a macro MILLIUPTIME, which does overflowable multiplication to 1000.
Requested by: Sergey Ryabin, Oleg Bulyzhin
Approved by: re (kensmith)
Revision Changes Path
220.127.116.11 +16 -4 src/sys/netgraph/netflow/netflow.c
More information about the cvs-all