summaryrefslogtreecommitdiff
path: root/sys/net/if_gif.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2001-09-03 20:03:55 +0000
committerJulian Elischer <julian@FreeBSD.org>2001-09-03 20:03:55 +0000
commitf0ffb944d259efbe7c4e223b4068be440c1a51cf (patch)
tree8d09274631c646d1bfce4acc158d08cc765103da /sys/net/if_gif.c
parent3fe149a64315002e9187d3a3c3040bd30cf3000c (diff)
Notes
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r--sys/net/if_gif.c3
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,