aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/nm/nm_service.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-11-28 11:57:49 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-11-28 11:57:49 +0100
commitc616d84c3fdc9b10a10d8355ce4c1425b36327da (patch)
tree2f7dc36c6ea727f34867c337d173aa4eb6e28974 /src/libcharon/plugins/nm/nm_service.c
parent25be47b431922471913c29ff63ed6c63607fccf6 (diff)
downloadstrongswan-c616d84c3fdc9b10a10d8355ce4c1425b36327da.tar.bz2
strongswan-c616d84c3fdc9b10a10d8355ce4c1425b36327da.tar.xz
start and route connections defined in an SQL database via start_action field and ipsec up %startall command
Diffstat (limited to 'src/libcharon/plugins/nm/nm_service.c')
-rw-r--r--src/libcharon/plugins/nm/nm_service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/nm/nm_service.c b/src/libcharon/plugins/nm/nm_service.c
index 72c5bbbb5..44b5f0c98 100644
--- a/src/libcharon/plugins/nm/nm_service.c
+++ b/src/libcharon/plugins/nm/nm_service.c
@@ -518,8 +518,8 @@ static gboolean connect_(NMVPNPlugin *plugin, NMConnection *connection,
child_cfg = child_cfg_create(priv->name, &lifetime,
NULL, TRUE, MODE_TUNNEL, /* updown, hostaccess */
- ACTION_NONE, ACTION_NONE, ipcomp, 0, 0,
- NULL, NULL);
+ ACTION_NONE, ACTION_NONE, ACTION_NONE, ipcomp,
+ 0, 0, NULL, NULL);
child_cfg->add_proposal(child_cfg, proposal_create_default(PROTO_ESP));
ts = traffic_selector_create_dynamic(0, 0, 65535);
child_cfg->add_traffic_selector(child_cfg, TRUE, ts);