aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/updown
diff options
context:
space:
mode:
authorEmanuil Hristov <int986@gmail.com>2013-04-17 12:44:34 +0300
committerMartin Willi <martin@revosec.ch>2013-05-16 10:13:22 +0200
commit2ce403438fe89e58b0f526dbe88aedf21ded4641 (patch)
tree4345da46c502c396855f26421f43f560d3a691d2 /src/libcharon/plugins/updown
parente8b2ce1e72c8bbda10ac5c51615bfb3e2d7899da (diff)
downloadstrongswan-2ce403438fe89e58b0f526dbe88aedf21ded4641.tar.bz2
strongswan-2ce403438fe89e58b0f526dbe88aedf21ded4641.tar.xz
updown: pass IKE_SA unique ID in PLUTO_UNIQUEID
Diffstat (limited to 'src/libcharon/plugins/updown')
-rw-r--r--src/libcharon/plugins/updown/updown_listener.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/updown/updown_listener.c b/src/libcharon/plugins/updown/updown_listener.c
index 617618057..2a6933e12 100644
--- a/src/libcharon/plugins/updown/updown_listener.c
+++ b/src/libcharon/plugins/updown/updown_listener.c
@@ -312,6 +312,7 @@ METHOD(listener_t, child_updown, bool,
"PLUTO_CONNECTION='%s' "
"PLUTO_INTERFACE='%s' "
"PLUTO_REQID='%u' "
+ "PLUTO_UNIQUEID='%u' "
"PLUTO_ME='%H' "
"PLUTO_MY_ID='%Y' "
"PLUTO_MY_CLIENT='%H/%u' "
@@ -336,6 +337,7 @@ METHOD(listener_t, child_updown, bool,
config->get_name(config),
iface ? iface : "unknown",
child_sa->get_reqid(child_sa),
+ ike_sa->get_unique_id(ike_sa),
me, ike_sa->get_my_id(ike_sa),
my_client, my_client_mask,
my_ts->get_from_port(my_ts),
@@ -426,4 +428,3 @@ updown_listener_t *updown_listener_create(updown_handler_t *handler)
return &this->public;
}
-