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.
This commit is contained in:
Tobias Brunner committed 2017-02-16 19:24:07 +01:00
1 parent ed105f45af
commit 7a0fdbab42
10 files changed
+90 -41

No files matched your search

@@ -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
{