summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-31 17:23:36 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-31 17:23:36 +0000
commit03c2b187a658dcf5d4c0d043a9331e699964ba35 (patch)
tree9389bc0cf28ff645f1b42d8efd4e5cd85d8ffbe2 /sys
parentcdb316c6731a1789cd237dd923d4160314afb63f (diff)
Fix non-NBRIDGE case
Diffstat (limited to 'sys')
-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)) {