Skip to content

Commit

Permalink
Add a missing entry for IPPROTO_ETHERIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
masa-koz committed Jun 24, 2021
1 parent 6e927d1 commit 9ccd2d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sys/netinet6/in6_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,15 @@ struct protosw inet6sw[] = {
.pr_ctloutput = rip6_ctloutput,
.pr_usrreqs = &rip6_usrreqs
},
{
.pr_type = SOCK_RAW,
.pr_domain = &inet6domain,
.pr_protocol = IPPROTO_ETHERIP,
.pr_flags = PR_ATOMIC|PR_ADDR|PR_LASTHDR,
.pr_input = encap6_input,
.pr_ctloutput = rip6_ctloutput,
.pr_usrreqs = &rip6_usrreqs
},
{
.pr_type = SOCK_RAW,
.pr_domain = &inet6domain,
Expand Down

0 comments on commit 9ccd2d8

Please sign in to comment.