diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-12-30 21:50:47 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-12-30 21:50:47 +0000 |
commit | 86a47cfeeefc2207af4c8ece66da8fa2c0583c01 (patch) | |
tree | 6ef4b6d4d34967acb844a2ab5ac407d43348e6fe /sys/netinet/in_gif.c | |
parent | 43da9ca47ad5a9a175a60252d97e2e4d717f42a6 (diff) |
AF_LINK case.
Diffstat (limited to 'sys/netinet/in_gif.c')
-rw-r--r-- | sys/netinet/in_gif.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c index 3497b511506..d72b7cec2c6 100644 --- a/sys/netinet/in_gif.c +++ b/sys/netinet/in_gif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_gif.c,v 1.10 2000/12/30 19:03:38 angelos Exp $ */ +/* $OpenBSD: in_gif.c,v 1.11 2000/12/30 21:50:46 angelos Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -96,6 +96,7 @@ in_gif_output(ifp, family, m, rt) sin_src->sin_family != AF_INET || sin_dst->sin_family != AF_INET) { m_freem(m); +printf("failure 1\n"); return EAFNOSUPPORT; } @@ -133,6 +134,10 @@ in_gif_output(ifp, family, m, rt) poff = offsetof(struct ip6_hdr, ip6_nxt); break; #endif +#if NBRIDGE > 0 + case AF_LINK: + break; +#endif /* NBRIDGE */ default: #ifdef DEBUG printf("in_gif_output: warning: unknown family %d passed\n", |