Date: Thu, 10 Mar 2005 14:44:25 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph/netflow netflow.c Message-ID: <200503101444.j2AEiPGM048753@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-03-10 14:44:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/netgraph/netflow netflow.c Log: MFC 1.9: 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 1.3.2.6 +16 -4 src/sys/netgraph/netflow/netflow.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503101444.j2AEiPGM048753>