diff options
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 8ad2c370565a..1bd3c5f95cf2 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, |
