Date: Fri, 25 Feb 2005 10:09:44 +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/netinet ip_carp.c Message-ID: <200502251009.j1PA9jAH051033@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502251009.j1PA9jAH051033>
