aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/processing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-11-16 17:59:22 +0100
committerTobias Brunner <tobias@strongswan.org>2017-02-16 19:24:07 +0100
commit7a0fdbab42669d75cec2c073062331b7a7aed443 (patch)
tree6318dd5c045062d718ddeba77a1e40a9964c2d48 /src/libcharon/processing
parented105f45afca41b4e445c18f24f219352a4c6ef0 (diff)
downloadstrongswan-7a0fdbab42669d75cec2c073062331b7a7aed443.tar.bz2
strongswan-7a0fdbab42669d75cec2c073062331b7a7aed443.tar.xz
shunt-manager: Add an optional namespace for each shunt
This will allow us to reuse the names of child configs e.g. when they are defined in different connections.
Diffstat (limited to 'src/libcharon/processing')
-rw-r--r--src/libcharon/processing/jobs/start_action_job.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/processing/jobs/start_action_job.c b/src/libcharon/processing/jobs/start_action_job.c
index 5e88ac230..19f205251 100644
--- a/src/libcharon/processing/jobs/start_action_job.c
+++ b/src/libcharon/processing/jobs/start_action_job.c
@@ -68,7 +68,8 @@ METHOD(job_t, execute, job_requeue_t,
mode = child_cfg->get_mode(child_cfg);
if (mode == MODE_PASS || mode == MODE_DROP)
{
- charon->shunts->install(charon->shunts, child_cfg);
+ charon->shunts->install(charon->shunts, NULL,
+ child_cfg);
}
else
{