Unlike with struct protosw, several instances of struct ip6protosw

did not use C99-style sparse structure initialization, so remove
NULL assignments for now-removed pr_usrreq function pointers.

Reported by:	Chris Ruiz <yr.retarded at gmail.com>
This commit is contained in:
Robert Watson 2009-01-04 21:53:42 +00:00
parent cba318dc12
commit 5e48a30d2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186751
2 changed files with 0 additions and 2 deletions

View File

@ -78,7 +78,6 @@ extern struct domain inet6domain;
struct ip6protosw in6_gif_protosw =
{ SOCK_RAW, &inet6domain, 0/* IPPROTO_IPV[46] */, PR_ATOMIC|PR_ADDR,
in6_gif_input, rip6_output, 0, rip6_ctloutput,
0,
0, 0, 0, 0,
&rip6_usrreqs
};

View File

@ -673,7 +673,6 @@ static struct ip6protosw ipe6_protosw =
{ SOCK_RAW, &inetdomain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR|PR_LASTHDR,
ip4_input6,
0, 0, rip_ctloutput,
0,
0, 0, 0, 0,
&rip_usrreqs
};