summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/in_gif.c4
-rw-r--r--sys/netinet6/in6_gif.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index cc3498577b0..ff90d8e59f2 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_gif.c,v 1.12 2000/12/31 17:20:14 angelos Exp $ */
+/* $OpenBSD: in_gif.c,v 1.13 2000/12/31 17:23:35 angelos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -170,7 +170,9 @@ in_gif_output(ifp, family, m, rt)
m = mp;
+#if NBRIDGE > 0
sendit:
+#endif /* NBRIDGE */
/* ip_output needs host-order length. it should be nuked */
m_copydata(m, offsetof(struct ip, ip_len), sizeof(u_int16_t),
(caddr_t) &plen);
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c
index 7acf4919f07..52dd846b16a 100644
--- a/sys/netinet6/in6_gif.c
+++ b/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_gif.c,v 1.9 2000/12/30 21:51:00 angelos Exp $ */
+/* $OpenBSD: in6_gif.c,v 1.10 2000/12/31 17:23:35 angelos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -174,7 +174,9 @@ in6_gif_output(ifp, family, m, rt)
m = mp;
+#if NBRIDGE > 0
sendit:
+#endif /* NBRIDGE */
/* See if out cached route remains the same */
if (dst->sin6_family != sin6_dst->sin6_family ||
!IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &sin6_dst->sin6_addr)) {