diff options
author | nsayer <nsayer@FreeBSD.org> | 1999-09-11 18:54:41 +0000 |
---|---|---|
committer | nsayer <nsayer@FreeBSD.org> | 1999-09-11 18:54:41 +0000 |
commit | 59867e71f7cbc9e775ea467bc43b67886f99efb0 (patch) | |
tree | ecd326cd571fa1d770b8da6636ebb8c6edf44173 /sys/net | |
parent | 114bca6fd9979acb218e9cddad04a0407d1de215 (diff) | |
download | FreeBSD-src-59867e71f7cbc9e775ea467bc43b67886f99efb0.zip FreeBSD-src-59867e71f7cbc9e775ea467bc43b67886f99efb0.tar.gz |
Fix kernel compile with BRIDGE, but without DUMMYNET
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/bridge.c b/sys/net/bridge.c index 645425a..eeb54ec 100644 --- a/sys/net/bridge.c +++ b/sys/net/bridge.c @@ -22,6 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * $FreeBSD$ */ /* @@ -503,6 +504,7 @@ bdg_forward (struct mbuf **m0, struct ifnet *dst) int off; m = *m0 ; +#ifdef DUMMYNET if (m->m_type == MT_DUMMYNET) { /* * the packet was already tagged, so part of the @@ -516,6 +518,7 @@ bdg_forward (struct mbuf **m0, struct ifnet *dst) canfree = 1 ; /* for sure, a copy is not needed later. */ goto forward; /* HACK! */ } else +#endif rule = NULL ; if (bdg_ipfw == 0) goto forward ; |