diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-12-31 17:21:51 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-12-31 17:21:51 +0000 |
commit | cdb316c6731a1789cd237dd923d4160314afb63f (patch) | |
tree | 081ba89fbd351ab8329e913822916d04f899a722 | |
parent | f171603bffab2917b0009d3e90640d4fdcd30bc1 (diff) |
Fix non-INET6 case
-rw-r--r-- | sys/net/if_gif.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index f4496e56933..626ac325a1d 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gif.c,v 1.9 2000/12/30 21:52:50 angelos Exp $ */ +/* $OpenBSD: if_gif.c,v 1.10 2000/12/31 17:21:50 angelos Exp $ */ /* $KAME: if_gif.c,v 1.32 2000/10/07 03:20:55 itojun Exp $ */ /* @@ -123,7 +123,10 @@ void gif_start(ifp) struct ifnet *ifp; { +#ifdef NBRIDGE > 0 struct sockaddr dst; +#endif /* NBRIDGE */ + struct mbuf *m; int s; @@ -150,7 +153,7 @@ gif_start(ifp) if (ifp->if_bridge == NULL) m_freem(m); else gif_output(ifp, m, &dst, NULL); #else - m_freem(m) + m_freem(m); #endif /* NBRIDGE */ } } |