summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-01-04 21:53:42 +0000
committerrwatson <rwatson@FreeBSD.org>2009-01-04 21:53:42 +0000
commite259848db546016e33236429a3137ec19b4f8caa (patch)
tree30b37500470e2d55efe44563d2169b4f0f114725 /sys/netipsec
parent6db41b83137e20849a678f989eb2fcfb415119de (diff)
downloadFreeBSD-src-e259848db546016e33236429a3137ec19b4f8caa.zip
FreeBSD-src-e259848db546016e33236429a3137ec19b4f8caa.tar.gz
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>
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/xform_ipip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netipsec/xform_ipip.c b/sys/netipsec/xform_ipip.c
index a9492dc..d1c207c 100644
--- a/sys/netipsec/xform_ipip.c
+++ b/sys/netipsec/xform_ipip.c
@@ -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
};
OpenPOWER on IntegriCloud