From cdb316c6731a1789cd237dd923d4160314afb63f Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Sun, 31 Dec 2000 17:21:51 +0000 Subject: Fix non-INET6 case --- sys/net/if_gif.c | 7 +++++-- 1 file 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 */ } } -- cgit v1.2.3