summaryrefslogtreecommitdiff
path: root/sys/net/if_fddisubr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-29 01:13:03 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-29 01:13:03 +0000
commit03c02b6531cc4db5d9417159cdaa6e9753041aba (patch)
tree3427e09f520a2e699e11ab1848fc99ba452f255f /sys/net/if_fddisubr.c
parentb67e09ed6ba88c58aecd09fcf0fb9eebe24b89a8 (diff)
fix the wrong changes, so the bcasts will work now ;)
Diffstat (limited to 'sys/net/if_fddisubr.c')
-rw-r--r--sys/net/if_fddisubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c
index 22b16c71e91..3e725b4dbe0 100644
--- a/sys/net/if_fddisubr.c
+++ b/sys/net/if_fddisubr.c
@@ -184,7 +184,7 @@ fddi_output(ifp, m0, dst, rt0)
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|IFF_SIMPLEX))==(M_BCAST|IFF_SIMPLEX))
+ if ((m->m_flags & M_BCAST) && (ifp->if_flags & IFF_SIMPLEX))
mcopy = m_copy(m, 0, (int)M_COPYALL);
break;
#endif