summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_gif.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 32d4d817864..46ab0812087 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gif.c,v 1.36 2006/03/25 22:41:47 djm Exp $ */
+/* $OpenBSD: if_gif.c,v 1.37 2006/11/16 07:58:43 itojun Exp $ */
/* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */
/*
@@ -174,8 +174,10 @@ gif_start(ifp)
#if NBRIDGE > 0
/* Sanity check -- interface should be member of a bridge */
- if (ifp->if_bridge == NULL) m_freem(m);
- else gif_output(ifp, m, &dst, NULL);
+ if (ifp->if_bridge == NULL)
+ m_freem(m);
+ else
+ gif_output(ifp, m, &dst, NULL);
#else
m_freem(m);
#endif /* NBRIDGE */