ipsec: Derive the TUNNEL_V6 flag from the configured address types