aboutsummaryrefslogtreecommitdiff
path: root/sys/netipx/spx_usrreq.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-03-23 19:50:00 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-03-23 19:50:00 +0000
commit7d01b8963119d91ca4fe60d47b660fd341485132 (patch)
tree8c42a934719b871da6c50f8514edf37e679f16d0 /sys/netipx/spx_usrreq.c
parent3a51513f8b698ca257440c8d6e98f14f5610f42b (diff)
downloadsrc-7d01b8963119d91ca4fe60d47b660fd341485132.tar.gz
src-7d01b8963119d91ca4fe60d47b660fd341485132.zip
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.
Notes
Notes: svn path=/head/; revision=157050
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
-rw-r--r--sys/netipx/spx_usrreq.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 3b4273185e9f..0307d64e529d 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -698,30 +698,8 @@ spx_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 *na;
- struct sockaddr_ipx *sipx;
- if (cmd < 0 || cmd >= PRC_NCMDS)
- return;
-
- switch (cmd) {
-
- case PRC_ROUTEDEAD:
- return;
-
- case PRC_IFDOWN:
- case PRC_HOSTDEAD:
- case PRC_HOSTUNREACH:
- sipx = (struct sockaddr_ipx *)arg;
- if (sipx->sipx_family != AF_IPX)
- return;
- na = &sipx->sipx_addr;
- break;
-
- default:
- break;
- }
+ /* Currently, nothing. */
}
static int