ikev2: fix show ikev2 profile 14/30414/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 14 Dec 2020 16:32:01 +0000 (17:32 +0100)
committerDamjan Marion <dmarion@me.com>
Mon, 14 Dec 2020 21:51:06 +0000 (21:51 +0000)
format_ip_address() to display {local,remote}_id does not work because
we do not store ip_address_t but ip{4,6}_address_t, hence we lack the
ip_address_family_t version field.
Update format_ikev2_id_type_and_data() to support all types and use it
instead.

Type: fix

Change-Id: I7a81beb0b22fcf1c5d1bf03a32a6cc4f030f4361
Signed-off-by: Benoît Ganne <bganne@cisco.com>

No differences found