From vovik@ntu-kpi.kiev.ua  Sat Jun  6 09:09:11 1998
Received: from ntu-kpi.kiev.ua (vovik@ntu-kpi.kiev.ua [195.178.136.20])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18038
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 6 Jun 1998 09:08:45 -0700 (PDT)
          (envelope-from vovik@ntu-kpi.kiev.ua)
Received: (from vovik@localhost)
          by ntu-kpi.kiev.ua (8.8.8/8.7.3) id TAA13862;
          Sat, 6 Jun 1998 19:07:06 +0300 (EEST)
Message-Id: <199806061607.TAA13862@ntu-kpi.kiev.ua>
Date: Sat, 6 Jun 1998 19:07:06 +0300 (EEST)
From: "Vladimir A. Jakovenko" <vovik@ntu-kpi.kiev.ua>
Reply-To: vovik@ntu-kpi.kiev.ua
To: FreeBSD-gnats-submit@freebsd.org
Subject: IPX debug messages in ipx_input.c
X-Send-Pr-Version: 3.2

>Number:         6875
>Category:       kern
>Synopsis:       IPX debug messages in ipx_input.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun  6 09:10:00 PDT 1998
>Closed-Date:    Wed Jun 10 05:52:22 PDT 1998
>Last-Modified:  Wed Jun 10 05:52:33 PDT 1998
>Originator:     Vladimir A. Jakovenko
>Release:        FreeBSD 2.2.6-RELEASE i386
>Organization:
NTUU "KPI"
>Environment:

	FreeBSD-2.2.6 with following kernel options:

	options         IPX
	options         IPXPRINTFS=0
	options         IPX_ERRPRINTFS=0

>Description:

	When system act as IPX router (sysctl -w net.ipx.ipx.ipxforwarding=1,
	running IPXRouted -s) between IPX configured interfaces, it generate
	syslog messages "ipx_ctlinput: cmd 15." even if kernel compiled with
	IPXPRINTFS=0 and IPX_ERRPRINTFS=0 options.

>How-To-Repeat:

	Compile kernel with 
	 options         IPX
 	 options         IPXPRINTFS=0
	 options         IPX_ERRPRINTFS=0
	configure some interfaces to IPX protocol family, and run 
	 sysctl -w net.ipx.ipx.ipxforwarding=1
	and
	 IPXRouted -s
	After that try to transfer some IPX traffic throw router.
>Fix:

	Please apply the following patch:

--- ipx_input.c~	Sat Jun 28 12:22:30 1997
+++ ipx_input.c	Sat Jun  6 19:08:58 1998
@@ -317,9 +317,10 @@
 		ipx = &sipx->sipx_addr;
 		break;
 
 	default:
-		printf("ipx_ctlinput: cmd %d.\n", cmd);
+		if (ipxprintfs)
+			printf("ipx_ctlinput: cmd %d.\n", cmd);
 		break;
 	}
 }
 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Jun 10 05:52:22 PDT 1998 
State-Changed-Why:  
fixed in current 
>Unformatted:
