diff options
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r-- | sys/net/if_bridge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 827fc757f1d..2efe6328622 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.142 2005/04/25 01:34:27 brad Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.143 2005/04/25 17:55:51 brad Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -960,9 +960,9 @@ bridge_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa, #endif /* IPSEC */ /* Catch packets that need TCP/UDP/IP hardware checksumming */ - if (m->m_pkthdr.csum & M_IPV4_CSUM_OUT || - m->m_pkthdr.csum & M_TCPV4_CSUM_OUT || - m->m_pkthdr.csum & M_UDPV4_CSUM_OUT) { + if (m->m_pkthdr.csum_flags & M_IPV4_CSUM_OUT || + m->m_pkthdr.csum_flags & M_TCPV4_CSUM_OUT || + m->m_pkthdr.csum_flags & M_UDPV4_CSUM_OUT) { m_freem(m); splx(s); return (0); |