summaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_usrreq.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-12-23 08:47:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-12-23 08:47:08 +0000
commit5fc79652fb47e321627cf0029c407f2eb5059f5b (patch)
treef8678d74bda8184fb5f1d100c7727ed3a8d398c2 /sys/netipx/ipx_usrreq.c
parentcbf4c066f14716801ab7bc08f8227a8bd14d7076 (diff)
no panic on ppp down/retry
Diffstat (limited to 'sys/netipx/ipx_usrreq.c')
-rw-r--r--sys/netipx/ipx_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c
index ad39a273dfe..027e80cd706 100644
--- a/sys/netipx/ipx_usrreq.c
+++ b/sys/netipx/ipx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_usrreq.c,v 1.3 1996/11/25 08:20:01 mickey Exp $ */
+/* $OpenBSD: ipx_usrreq.c,v 1.4 1996/12/23 08:47:04 mickey Exp $ */
/*-
*
@@ -125,8 +125,8 @@ ipx_input(m, va_alist)
m->m_pkthdr.len -= sizeof (struct ipx);
m->m_data += sizeof (struct ipx);
}
- if (sbappendaddr(&ipxp->ipxp_socket->so_rcv, (struct sockaddr *)&ipx_ipx,
- m, (struct mbuf *)0) == 0)
+ if (sbappendaddr(&ipxp->ipxp_socket->so_rcv, sipxtosa(&ipx_ipx), m,
+ (struct mbuf *)0) == 0)
goto bad;
sorwakeup(ipxp->ipxp_socket);
return;