mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-18 15:53:37 +00:00
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:
parent
cba318dc12
commit
5e48a30d2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186751
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue