diff options
author | phk <phk@FreeBSD.org> | 1998-06-10 12:52:11 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-06-10 12:52:11 +0000 |
commit | fbc1aea1b71dac124fc1cd630fadb99ff1cc1b11 (patch) | |
tree | 3246ac809e564e1edd1d6d2f0f1688e4d49ac685 /sys/netipx | |
parent | 9bf95072953d11337d2ba3c6c68c84f463393739 (diff) | |
download | FreeBSD-src-fbc1aea1b71dac124fc1cd630fadb99ff1cc1b11.zip FreeBSD-src-fbc1aea1b71dac124fc1cd630fadb99ff1cc1b11.tar.gz |
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 <vovik@ntu-kpi.kiev.ua>
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx_input.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <sys/param.h> @@ -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; } } |