]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix build for NOINET and NOINET6 kernels.
authorAndrey V. Elsukov <ae@FreeBSD.org>
Sun, 24 Apr 2016 17:09:51 +0000 (17:09 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Sun, 24 Apr 2016 17:09:51 +0000 (17:09 +0000)
commit0d05666462f059f3864821dedae94c94ca5e9cc4
tree6a22e6996fc6e3ceaf398793f259d06ae7fe75fc
parent77eab110a97d5f024083ec19c22f4b92f097c094
Fix build for NOINET and NOINET6 kernels.

Use own protosw structures for both address families.
Check proto in encapcheck function and use -1 as proto argument in
encap_attach_func(), both address families can have IPPROTO_IPV4
and IPPROTO_IPV6 protocols.

Reported by: bz
sys/netipsec/xform_ipcomp.c