Properly enable NAT-T without udpencap if mobike was negotiated without NAT.
authortobhe <tobhe@openbsd.org>
Thu, 9 Dec 2021 13:49:45 +0000 (13:49 +0000)
committertobhe <tobhe@openbsd.org>
Thu, 9 Dec 2021 13:49:45 +0000 (13:49 +0000)
commit0e145d8960be2eb44a7b1b65dd9669478db37736
treec59597466e4a9ab21f937bf15fbc9ae1f285b907
parent0d56447760df98c0f0e4b96e5e335c10dfb1ea1d
Properly enable NAT-T without udpencap if mobike was negotiated without NAT.
Fixes a bug where iked sent zero-prefixed NAT-T messages on port 500 causing
parsing errors.

ok markus@ patrick@
sbin/iked/iked.h
sbin/iked/ikev2.c