diff options
author | ru <ru@FreeBSD.org> | 2010-01-08 16:14:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2010-01-08 16:14:41 +0000 |
commit | ce510bcb3f0f034b9ef138fee8bbd4b12dccb8c0 (patch) | |
tree | 1703e73152127c6c2c22654647ff93eb2f90735b /sys/netinet/ip_carp.c | |
parent | 9cdbb6142ca19170c94d575267267a1754824cea (diff) | |
download | FreeBSD-src-ce510bcb3f0f034b9ef138fee8bbd4b12dccb8c0.zip FreeBSD-src-ce510bcb3f0f034b9ef138fee8bbd4b12dccb8c0.tar.gz |
Complete the swap of carp(4) log levels and document the change.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 55fbb02..433c0f0 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -560,7 +560,7 @@ carp_input(struct mbuf *m, int hlen) /* verify that the IP TTL is 255. */ if (ip->ip_ttl != CARP_DFLTTL) { CARPSTATS_INC(carps_badttl); - CARP_LOG("carp_input: received ttl %d != 255i on %s\n", + CARP_DEBUG("carp_input: received ttl %d != 255 on %s\n", ip->ip_ttl, m->m_pkthdr.rcvif->if_xname); m_freem(m); @@ -739,7 +739,7 @@ carp_input_c(struct mbuf *m, struct carp_header *ch, sa_family_t af) CARPSTATS_INC(carps_badauth); SC2IFP(sc)->if_ierrors++; CARP_UNLOCK(ifp->if_carp); - CARP_LOG("%s: incorrect hash\n", SC2IFP(sc)->if_xname); + CARP_DEBUG("%s: incorrect hash\n", SC2IFP(sc)->if_xname); m_freem(m); return; } |