From fbc1aea1b71dac124fc1cd630fadb99ff1cc1b11 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 10 Jun 1998 12:52:11 +0000 Subject: 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. PR: 6875 Reviewed by: phk Submitted by: Vladimir A. Jakovenko --- sys/netipx/ipx_input.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/netipx') diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 78911b8..38b2b3c 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -33,7 +33,7 @@ * * @(#)ipx_input.c * - * $Id: ipx_input.c,v 1.16 1998/03/30 09:53:09 phk Exp $ + * $Id: ipx_input.c,v 1.17 1998/04/06 09:30:42 phk Exp $ */ #include @@ -320,7 +320,8 @@ ipx_ctlinput(cmd, arg_as_sa, dummy) break; default: - printf("ipx_ctlinput: cmd %d.\n", cmd); + if (ipxprintfs) + printf("ipx_ctlinput: cmd %d.\n", cmd); break; } } -- cgit v1.1