summaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_pcb.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-11 19:31:57 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-01-11 19:31:57 +0000
commitc7e33d842b4b7e4f80ff8574243639aec5857463 (patch)
tree07ef2db92b5020287ffaeb0025b733d59a561dd2 /sys/netipx/ipx_pcb.c
parent7ad2a85b26b2ddd0b111487c985db5e62aef02d1 (diff)
Remove references to ipx_thishost; instead find the address from
ipx_ifaddr.
Diffstat (limited to 'sys/netipx/ipx_pcb.c')
-rw-r--r--sys/netipx/ipx_pcb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/netipx/ipx_pcb.c b/sys/netipx/ipx_pcb.c
index dfebd7c0779..106cb5faa8c 100644
--- a/sys/netipx/ipx_pcb.c
+++ b/sys/netipx/ipx_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_pcb.c,v 1.4 2000/01/11 01:25:01 fgsch Exp $ */
+/* $OpenBSD: ipx_pcb.c,v 1.5 2000/01/11 19:31:56 fgsch Exp $ */
/*-
*
@@ -242,11 +242,9 @@ ipx_pcbconnect(ipxp, nam)
}
if (ipx_pcblookup(&sipx->sipx_addr, ipxp->ipxp_lport, 0))
return (EADDRINUSE);
- if (ipx_nullhost(ipxp->ipxp_laddr)) {
- if (ipxp->ipxp_lport == 0)
- (void) ipx_pcbbind(ipxp, (struct mbuf *)0);
- ipxp->ipxp_laddr.ipx_host = ipx_thishost;
- }
+ if (ipxp->ipxp_lport == 0)
+ (void) ipx_pcbbind(ipxp, (struct mbuf *)0);
+
ipxp->ipxp_faddr = sipx->sipx_addr;
/* Includes ipxp->ipxp_fport = sipx->sipx_port; */
return (0);