Set the correct ENCAPSULATION_MODE when doing NAT-T.
authormpi <mpi@openbsd.org>
Thu, 7 Dec 2017 11:44:02 +0000 (11:44 +0000)
committermpi <mpi@openbsd.org>
Thu, 7 Dec 2017 11:44:02 +0000 (11:44 +0000)
commit3d5ebe16a617e1184e92094a58c07f80e3bc597e
tree8b16322363e881943f8dc7e8bd4770aa4f988ab1
parente598499b0d7de2f45d11012f3cbd1fb25b1cd818
Set the correct ENCAPSULATION_MODE when doing NAT-T.

Fix at least interoperability with Cisco when isakmpd(8) is initiating
the connections, originally reported by sebastia@ in 2014.

Refreshed diff from and ok hshoexer@, ok sthen@, ok remi@
sbin/isakmpd/ike_quick_mode.c