cvs commit: src/sys/netinet ip_carp.c

Gleb Smirnoff glebius at FreeBSD.org
Fri Feb 25 10:09:45 GMT 2005


glebius     2005-02-25 10:09:44 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_carp.c 
  Log:
  Improve logging:
   - Simplify CARP_LOG() and making it working (we don't have addlog in FreeBSD).
   - Introduce CARP_DEBUG() which logs with LOG_DEBUG severity when
     net.inet.carp.log > 1
   - Use CARP_DEBUG to log state changes of carp interfaces.
  
  After CARP_LOG() cleanup it appeared that carp_input_c() does not need sc
  argument. Remove it.
  
  Sponsored by:   Rambler
  
  Revision  Changes    Path
  1.5       +52 -38    src/sys/netinet/ip_carp.c


More information about the cvs-src mailing list