ikev2: prevent crash after no IP address 27/28527/12
authorFilip Tehlar <ftehlar@cisco.com>
Wed, 7 Oct 2020 19:17:00 +0000 (19:17 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 21 Oct 2020 13:28:24 +0000 (13:28 +0000)
commit6960da528443ea40b1cdab323c76f978f7b16a8b
tree151ad0519d924b200f84dac28b99c09dd5b23a56
parent2082835fea3ccd85e7368327d5baa749be01b537
ikev2: prevent crash after no IP address

Type: fix
Ticket: VPP-1900

This fixes a crash when initiating IKE connection using interface
without any IP address.
It also ensures that the IKE connection is automatically retried once the
interface obtains an address.

Signed-off-by: jan_cavojsky <Jan.Cavojsky@pantheon.tech>
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Ia1919c349e64b3a0a4198365e075e177e3ba3de5
src/plugins/ikev2/ikev2.c