Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ikev2: fix udp encap
[vpp.git]
/
src
/
plugins
/
ikev2
/
ikev2.c
diff --git
a/src/plugins/ikev2/ikev2.c
b/src/plugins/ikev2/ikev2.c
index
03757c4
..
2dd0819
100644
(file)
--- a/
src/plugins/ikev2/ikev2.c
+++ b/
src/plugins/ikev2/ikev2.c
@@
-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* */
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)
vec_free (authmsg);
if (sa->state == IKEV2_STATE_AUTHENTICATED)