summaryrefslogtreecommitdiff
path: root/sys/netinet/in_gif.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-07-27 15:48:39 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-07-27 15:48:39 +0000
commit5782dfd1a8b36a27deb2bd3798e6d6a9afe9a7a1 (patch)
treec2e0ac3c8c5fc71c9f37c6b9d4eda10d41ea7c30 /sys/netinet/in_gif.c
parent94e300c7c1502fce5abee5638ced501881fa0d9c (diff)
variable name "gif" is way too generic - use "gif_softc". sync with kame
Diffstat (limited to 'sys/netinet/in_gif.c')
-rw-r--r--sys/netinet/in_gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c
index 2b68ded2f92..7b48276257c 100644
--- a/sys/netinet/in_gif.c
+++ b/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_gif.c,v 1.19 2001/06/08 10:37:46 art Exp $ */
+/* $OpenBSD: in_gif.c,v 1.20 2001/07/27 15:48:38 itojun Exp $ */
/* $KAME: in_gif.c,v 1.50 2001/01/22 07:27:16 itojun Exp $ */
/*
@@ -197,7 +197,7 @@ in_gif_input(m, va_alist)
/* this code will be soon improved. */
#define satosin(sa) ((struct sockaddr_in *)(sa))
- for (i = 0, sc = gif; i < ngif; i++, sc++) {
+ for (i = 0, sc = gif_softc; i < ngif; i++, sc++) {
if (sc->gif_psrc == NULL
|| sc->gif_pdst == NULL
|| sc->gif_psrc->sa_family != AF_INET