csjp        2006-03-03 17:21:09 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_ethersubr.c 
  Log:
  Unbreak byte counters when network interfaces are in monitor mode by
  re-organizing the monitor return logic. We perform interface monitoring
  checks after we have determined if the CRC is still on the packet, if
  it is, m_adj() is called which will adjust the packet length. This
  ensures that we are not including CRC lengths in the byte counters for
  each packet.
  
  Discussed with: andre, glebius
  
  Revision  Changes    Path
  1.215     +8 -8      src/sys/net/if_ethersubr.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to