summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2006-11-16 07:58:44 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2006-11-16 07:58:44 +0000
commit7588ef12efa2d83e9c11285cc58bb51f50fef01d (patch)
tree28e86e95a53e4a33858429853cf2e18d915bd7c3 /sys
parent530c8eef39f5930e07fdc9b16ba89658bdc66827 (diff)
knf
Diffstat (limited to 'sys')
-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 */