cvs commit: src/sys/netgraph/netflow netflow.c

Gleb Smirnoff glebius at FreeBSD.org
Thu Mar 3 11:01:06 GMT 2005


glebius     2005-03-03 11:01:06 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph/netflow netflow.c 
  Log:
  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
  MFC after:      1 week
  
  Revision  Changes    Path
  1.9       +16 -4     src/sys/netgraph/netflow/netflow.c


More information about the cvs-src mailing list