Include reqid in stroke add connection message.
authorReto Buerki <buerki@swiss-it.ch>
Thu, 22 Apr 2010 15:03:28 +0000 (17:03 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 4 May 2010 12:38:34 +0000 (14:38 +0200)
src/starter/starterstroke.c
src/stroke/stroke_msg.h

index d877661..6a50007 100644 (file)
@@ -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.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);
 
        starter_stroke_add_end(&msg, &msg.add_conn.me, &conn->left);
        starter_stroke_add_end(&msg, &msg.add_conn.other, &conn->right);
index ffc6703..b20dd22 100644 (file)
@@ -227,6 +227,7 @@ struct stroke_msg_t {
                        time_t inactivity;
                        int proxy_mode;
                        int install_policy;
                        time_t inactivity;
                        int proxy_mode;
                        int install_policy;
+                       u_int32_t reqid;
 
                        crl_policy_t crl_policy;
                        int unique;
 
                        crl_policy_t crl_policy;
                        int unique;