summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_input.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-23 19:50:00 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-23 19:50:00 +0000
commit2f76715fb3c6085157c269d3bc144859714ba8ee (patch)
tree8c42a934719b871da6c50f8514edf37e679f16d0 /sys/netipx/ipx_input.c
parent99415d830f9163d5b3ef2c183bd90f8c7aa83b0b (diff)
downloadFreeBSD-src-2f76715fb3c6085157c269d3bc144859714ba8ee.zip
FreeBSD-src-2f76715fb3c6085157c269d3bc144859714ba8ee.tar.gz
Admit to ourselves that we don't actually implement pr_ctlinput() for
IPX or SPX, as the code in the implementing functions is essentially a no-op. Replace with a comment indicating we don't implement these currently.
Diffstat (limited to 'sys/netipx/ipx_input.c')
-rw-r--r--sys/netipx/ipx_input.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index 9631b74..b751ea4c 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -294,28 +294,8 @@ ipx_ctlinput(cmd, arg_as_sa, dummy)
struct sockaddr *arg_as_sa; /* XXX should be swapped with dummy */
void *dummy;
{
- caddr_t arg = (/* XXX */ caddr_t)arg_as_sa;
- struct ipx_addr *ipx;
- if (cmd < 0 || cmd >= PRC_NCMDS)
- return;
- switch (cmd) {
- struct sockaddr_ipx *sipx;
-
- case PRC_IFDOWN:
- case PRC_HOSTDEAD:
- case PRC_HOSTUNREACH:
- sipx = (struct sockaddr_ipx *)arg;
- if (sipx->sipx_family != AF_IPX)
- return;
- ipx = &sipx->sipx_addr;
- break;
-
- default:
- if (ipxprintfs)
- printf("ipx_ctlinput: cmd %d.\n", cmd);
- break;
- }
+ /* Currently, nothing. */
}
/*
OpenPOWER on IntegriCloud