diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 19:27:54 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 19:27:54 +0000 |
commit | 7ad2a85b26b2ddd0b111487c985db5e62aef02d1 (patch) | |
tree | e0b81037ea28e6ca9aee7209c9ed6247a4c8288c /sys/net | |
parent | 5e044907ea5301afce68eaa86f590ace6fe021a5 (diff) |
Remove unneeded loout call that uses ipx_thishost.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 | ||||
-rw-r--r-- | sys/net/if_fddisubr.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 3513c322bf5..c0b474601a2 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.32 1999/12/08 06:50:17 itojun Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.33 2000/01/11 19:27:52 fgsch Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -315,8 +315,6 @@ ether_output(ifp, m0, dst, rt0) etype = htons(ETHERTYPE_IPX); bcopy((caddr_t)&satosipx(dst)->sipx_addr.ipx_host, (caddr_t)edst, sizeof (edst)); - if (!bcmp((caddr_t)edst, (caddr_t)&ipx_thishost, sizeof(edst))) - return (looutput(ifp, m, dst, rt)); /* If broadcasting on a simplex interface, loopback a copy */ if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX)) mcopy = m_copy(m, 0, (int)M_COPYALL); diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c index 74c7c0944b7..d2be62fc9b5 100644 --- a/sys/net/if_fddisubr.c +++ b/sys/net/if_fddisubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fddisubr.c,v 1.20 1999/12/08 06:50:18 itojun Exp $ */ +/* $OpenBSD: if_fddisubr.c,v 1.21 2000/01/11 19:27:53 fgsch Exp $ */ /* $NetBSD: if_fddisubr.c,v 1.5 1996/05/07 23:20:21 christos Exp $ */ /* @@ -241,8 +241,6 @@ fddi_output(ifp, m0, dst, rt0) type = htons(ETHERTYPE_IPX); bcopy((caddr_t)&(((struct sockaddr_ipx*)dst)->sipx_addr.ipx_host), (caddr_t)edst, sizeof (edst)); - if (!bcmp((caddr_t)edst, (caddr_t)&ipx_thishost, sizeof(edst))) - return (looutput(ifp, m, dst, rt)); /* If broadcasting on a simplex interface, loopback a copy */ if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX)) mcopy = m_copy(m, 0, (int)M_COPYALL); |