ikev2: respect punting only for ipv4 92/29892/2
authorBenoît Ganne <bganne@cisco.com>
Thu, 12 Nov 2020 09:29:23 +0000 (10:29 +0100)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 19 Nov 2020 21:32:54 +0000 (21:32 +0000)
commitd9ed0b67866fa6b8a5f449fdb8da8d6aacb5f225
treea97519d5713b05957cd55e720795622638e2e2d6
parent83f37fc3bde149cc8cde7413691da1442dbf8f09
ikev2: respect punting only for ipv4

IPSec punting to IKEv2 is valid only for NAT-T in IPv4.
Fix coverity CID 214915.

Type: fix

Change-Id: I6f2db38abf179565316f50c5d47c78acce3a0d01
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/ikev2/ikev2.c