diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-11-28 11:57:49 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-11-28 11:57:49 +0100 |
commit | c616d84c3fdc9b10a10d8355ce4c1425b36327da (patch) | |
tree | 2f7dc36c6ea727f34867c337d173aa4eb6e28974 /src/libcharon/plugins/uci/uci_config.c | |
parent | 25be47b431922471913c29ff63ed6c63607fccf6 (diff) | |
download | strongswan-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/uci/uci_config.c')
-rw-r--r-- | src/libcharon/plugins/uci/uci_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/uci/uci_config.c b/src/libcharon/plugins/uci/uci_config.c index ddddae782..f16da22bc 100644 --- a/src/libcharon/plugins/uci/uci_config.c +++ b/src/libcharon/plugins/uci/uci_config.c @@ -196,8 +196,8 @@ static bool peer_enumerator_enumerate(peer_enumerator_t *this, peer_cfg_t **cfg) this->peer_cfg->add_auth_cfg(this->peer_cfg, auth, FALSE); child_cfg = child_cfg_create(name, &lifetime, NULL, TRUE, MODE_TUNNEL, - ACTION_NONE, ACTION_NONE, FALSE, 0, 0, - NULL, NULL); + ACTION_NONE, ACTION_NONE, ACTION_NONE, + FALSE, 0, 0, NULL, NULL); child_cfg->add_proposal(child_cfg, create_proposal(esp_proposal, PROTO_ESP)); child_cfg->add_traffic_selector(child_cfg, TRUE, create_ts(local_net)); child_cfg->add_traffic_selector(child_cfg, FALSE, create_ts(remote_net)); |