From owner-svn-src-all@FreeBSD.ORG Wed Jun 24 10:28:31 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57BA4106566C; Wed, 24 Jun 2009 10:28:31 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE988FC18; Wed, 24 Jun 2009 10:28:31 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5OASVvC009031; Wed, 24 Jun 2009 10:28:31 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5OASVRS009029; Wed, 24 Jun 2009 10:28:31 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200906241028.n5OASVRS009029@svn.freebsd.org> From: Robert Watson Date: Wed, 24 Jun 2009 10:28:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194818 - head/sys/netatalk X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 10:28:31 -0000 Author: rwatson Date: Wed Jun 24 10:28:30 2009 New Revision: 194818 URL: http://svn.freebsd.org/changeset/base/194818 Log: Reduce debugging output for netatalk routing events. MFC after: 3 days Modified: head/sys/netatalk/at_rmx.c Modified: head/sys/netatalk/at_rmx.c ============================================================================== --- head/sys/netatalk/at_rmx.c Wed Jun 24 09:54:05 2009 (r194817) +++ head/sys/netatalk/at_rmx.c Wed Jun 24 10:28:30 2009 (r194818) @@ -40,6 +40,7 @@ int at_inithead(void **head, int off); +#if 0 #define HEXBUF_LEN 256 static const char * @@ -65,74 +66,35 @@ prsockaddr(void *v, char *hexbuf) *bp = '\0'; return (hexbuf); } +#endif static struct radix_node * at_addroute(void *v_arg, void *n_arg, struct radix_node_head *head, struct radix_node *treenodes) { - struct radix_node *rn; - char hexbuf[HEXBUF_LEN]; - printf("at_addroute: v=%s\n", prsockaddr(v_arg, hexbuf)); - printf("at_addroute: n=%s\n", prsockaddr(n_arg, hexbuf)); - printf("at_addroute: head=%p treenodes=%p\n", (void *)head, - (void *)treenodes); - - rn = rn_addroute(v_arg, n_arg, head, treenodes); - - printf("at_addroute: returns rn=%p\n", (void *)rn); - - return (rn); + return (rn_addroute(v_arg, n_arg, head, treenodes)); } static struct radix_node * at_matroute(void *v_arg, struct radix_node_head *head) { - struct radix_node *rn; - char hexbuf[HEXBUF_LEN]; - - printf("at_matroute: v=%s\n", prsockaddr(v_arg, hexbuf)); - printf("at_matroute: head=%p\n", (void *)head); - - rn = rn_match(v_arg, head); - - printf("at_matroute: returnr rn=%p\n", (void *)rn); - return (rn); + return (rn_match(v_arg, head)); } static struct radix_node * at_lookup(void *v_arg, void *m_arg, struct radix_node_head *head) { - struct radix_node *rn; - char hexbuf[HEXBUF_LEN]; - printf("at_lookup: v=%s\n", prsockaddr(v_arg, hexbuf)); - printf("at_lookup: n=%s\n", prsockaddr(m_arg, hexbuf)); - printf("at_lookup: head=%p\n", (void *)head); - - rn = rn_lookup(v_arg, m_arg, head); - - printf("at_lookup: returns rn=%p\n", (void *)rn); - - return (rn); + return (rn_lookup(v_arg, m_arg, head)); } static struct radix_node * at_delroute(void *v_arg, void *netmask_arg, struct radix_node_head *head) { - struct radix_node *rn; - char hexbuf[HEXBUF_LEN]; - - printf("at_delroute: v=%s\n", prsockaddr(v_arg, hexbuf)); - printf("at_delroute: n=%s\n", prsockaddr(netmask_arg, hexbuf)); - printf("at_delroute: head=%p\n", (void *)head); - - rn = rn_delete(v_arg, netmask_arg, head); - - printf("at_delroute: returns rn=%p\n", (void *)rn); - return (rn); + return (rn_delete(v_arg, netmask_arg, head)); } /*