diff options
author | julian <julian@FreeBSD.org> | 2001-09-03 20:03:55 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-09-03 20:03:55 +0000 |
commit | 071f86f9f1c961dd8169268ab4895d7ed7a350f0 (patch) | |
tree | 8d09274631c646d1bfce4acc158d08cc765103da /sys/net/if_gif.c | |
parent | b278777ba611a10a308ea300780edcc62fdb7d3d (diff) | |
download | FreeBSD-src-071f86f9f1c961dd8169268ab4895d7ed7a350f0.zip FreeBSD-src-071f86f9f1c961dd8169268ab4895d7ed7a350f0.tar.gz |
Patches from Keiichi SHIMA <keiichi@iij.ad.jp>
to make ip use the standard protosw structure again.
Obtained from: Well, KAME I guess.
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index 8ad2c37..1bd3c5f 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -62,7 +62,6 @@ #include <netinet/in_var.h> #include <netinet/in_gif.h> #include <netinet/ip_var.h> -#include <netinet/ipprotosw.h> #endif /* INET */ #ifdef INET6 @@ -101,7 +100,7 @@ static int gif_encapcheck __P((const struct mbuf *, int, int, void *)); #ifdef INET extern struct domain inetdomain; -struct ipprotosw in_gif_protosw = +struct protosw in_gif_protosw = { SOCK_RAW, &inetdomain, 0/*IPPROTO_IPV[46]*/, PR_ATOMIC|PR_ADDR, in_gif_input, rip_output, 0, rip_ctloutput, 0, |