renamed proxy to proxy_mode in stroke_msg.h
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 11 Nov 2008 07:28:52 +0000 (07:28 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 11 Nov 2008 07:28:52 +0000 (07:28 -0000)
src/charon/plugins/stroke/stroke_config.c
src/starter/starterstroke.c
src/stroke/stroke_msg.h

index d4ab691..cb91ecb 100644 (file)
@@ -775,7 +775,7 @@ static child_cfg_t *build_child_cfg(private_stroke_config_t *this,
                                msg->add_conn.rekey.margin * msg->add_conn.rekey.fuzz / 100, 
                                msg->add_conn.me.updown, msg->add_conn.me.hostaccess,
                                msg->add_conn.mode, dpd, dpd, msg->add_conn.ipcomp);
-       child_cfg->set_mipv6_options(child_cfg, msg->add_conn.proxy,
+       child_cfg->set_mipv6_options(child_cfg, msg->add_conn.proxy_mode,
                                                                                        msg->add_conn.install_policy);
        add_ts(this, &msg->add_conn.me, child_cfg, TRUE);
        add_ts(this, &msg->add_conn.other, child_cfg, FALSE);
index 0fe87df..bc29e74 100644 (file)
@@ -252,7 +252,7 @@ int starter_stroke_add_conn(starter_config_t *cfg, starter_conn_t *conn)
        else if (conn->policy & POLICY_PROXY)
        {
                msg.add_conn.mode = XFRM_MODE_TRANSPORT;
-               msg.add_conn.proxy = TRUE;
+               msg.add_conn.proxy_mode = TRUE;
        } 
        else
        {
index a5fe17d..59fa109 100644 (file)
@@ -212,8 +212,8 @@ struct stroke_msg_t {
                        int mobike;
                        int force_encap;
                        int ipcomp;
+                       int proxy_mode;
                        int install_policy;
-                       int proxy;
 
                        crl_policy_t crl_policy;
                        int unique;