From owner-cvs-src@FreeBSD.ORG Fri Feb 25 10:09:45 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB53E16A4CE; Fri, 25 Feb 2005 10:09:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90E7C43D46; Fri, 25 Feb 2005 10:09:45 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PA9jrt051039; Fri, 25 Feb 2005 10:09:45 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1PA9jAH051033; Fri, 25 Feb 2005 10:09:45 GMT (envelope-from glebius) Message-Id: <200502251009.j1PA9jAH051033@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 25 Feb 2005 10:09:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_carp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 10:09:45 -0000 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