ipsec: Derive the TUNNEL_V6 flag from the configured address types 94/32894/2
authorNeale Ranns <neale@graphiant.com>
Thu, 24 Jun 2021 15:41:03 +0000 (15:41 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 30 Jun 2021 14:05:55 +0000 (14:05 +0000)
commit53dd08c59eac0c2fe2f7c38ec242c57bfc3ea0ad
treea6a356d819aba12e37f51eab435c80e80060840c
parent595724a49072b30356e365ce78a3cc815980d342
ipsec: Derive the TUNNEL_V6 flag from the configured address types

Type: improvement

There's no need for the user to set the TUNNEL_V6 flag, it can be
derived from the tunnel's address type.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I073073dc970b8a3f2b2645bc697fc00db1adbb47
src/vnet/ipsec/ipsec_sa.c
src/vnet/ipsec/ipsec_types.api
test/vpp_ipsec.py