ikev2: fix udp encap

Type: fix

Change-Id: I2c89accddf2307fa975b71e974d4091499f104ed
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
Filip Tehlar
2020-03-07 20:55:59 +00:00
committed by Dave Barach
parent 79bfd27254
commit f52420d507

View File

@ -1373,14 +1373,14 @@ ikev2_sa_auth (ikev2_sa_t * sa)
}
}
if (sel_p)
sa->udp_encap = sel_p->udp_encap;
vec_free(auth);
vec_free(psk);
}));
/* *INDENT-ON* */
if (sel_p)
sa->udp_encap = sel_p->udp_encap;
vec_free (authmsg);
if (sa->state == IKEV2_STATE_AUTHENTICATED)