[strongSwan-dev] [PATCH 2/4] Include reqid in stroke add connection message.

Adrian-Ken Rueegsegger rueegsegger at swiss-it.ch
Thu Apr 22 17:03:28 CEST 2010


From: Reto Buerki <buerki at swiss-it.ch>

---
 src/starter/starterstroke.c |    1 +
 src/stroke/stroke_msg.h     |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index d877661..6a50007 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -269,6 +269,7 @@ int starter_stroke_add_conn(starter_config_t *cfg, starter_conn_t *conn)
 	msg.add_conn.ikeme.mediation = conn->me_mediation;
 	msg.add_conn.ikeme.mediated_by = push_string(&msg, conn->me_mediated_by);
 	msg.add_conn.ikeme.peerid = push_string(&msg, conn->me_peerid);
+	msg.add_conn.reqid = conn->reqid;
 
 	starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->left);
 	starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->right);
diff --git a/src/stroke/stroke_msg.h b/src/stroke/stroke_msg.h
index ffc6703..b20dd22 100644
--- a/src/stroke/stroke_msg.h
+++ b/src/stroke/stroke_msg.h
@@ -227,6 +227,7 @@ struct stroke_msg_t {
 			time_t inactivity;
 			int proxy_mode;
 			int install_policy;
+			u_int32_t reqid;
 
 			crl_policy_t crl_policy;
 			int unique;
-- 
1.6.3.3





More information about the Dev mailing list