diff options
author | Reto Buerki <buerki@swiss-it.ch> | 2010-04-22 17:03:28 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-05-04 14:38:34 +0200 |
commit | 1f83541d7bedf3876b8618ef3f45d303d97f9ec7 (patch) | |
tree | a78f3678ac20204e0f77ed3d95b30e83ed1f5736 | |
parent | 2b26a9c30d2c0629ee6015a5d5a7099d94efdd95 (diff) | |
download | strongswan-1f83541d7bedf3876b8618ef3f45d303d97f9ec7.tar.bz2 strongswan-1f83541d7bedf3876b8618ef3f45d303d97f9ec7.tar.xz |
Include reqid in stroke add connection message.
-rw-r--r-- | src/starter/starterstroke.c | 1 | ||||
-rw-r--r-- | 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 d877661ec..6a5000761 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 ffc67039e..b20dd22e3 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; |