diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2017-02-16 19:24:17 +0100 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2017-02-16 19:24:17 +0100 |
| commit | 2bb314c17b3293f4c4a504cee7d5daa19de4a2b5 (patch) | |
| tree | da98466d54e8ae783b617ded0313d7109de818c8 /src/libcharon/plugins/unity/unity_handler.c | |
| parent | c2129d1cbe6b482cf956a1f609ff974c9dcd5b24 (diff) | |
| parent | e16d1005f7c14b261a4d91f63159f96688fd8f00 (diff) | |
| download | strongswan-2bb314c17b3293f4c4a504cee7d5daa19de4a2b5.tar.bz2 strongswan-2bb314c17b3293f4c4a504cee7d5daa19de4a2b5.tar.xz | |
Merge branch 'vici-updates'
Adds several new features for the VICI interface and swanctl.
Diffstat (limited to 'src/libcharon/plugins/unity/unity_handler.c')
| -rw-r--r-- | src/libcharon/plugins/unity/unity_handler.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcharon/plugins/unity/unity_handler.c b/src/libcharon/plugins/unity/unity_handler.c index 570727823..25e0756b7 100644 --- a/src/libcharon/plugins/unity/unity_handler.c +++ b/src/libcharon/plugins/unity/unity_handler.c @@ -235,7 +235,7 @@ static job_requeue_t add_exclude_async(entry_t *entry) enumerator->destroy(enumerator); charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa); - charon->shunts->install(charon->shunts, child_cfg); + charon->shunts->install(charon->shunts, "unity", child_cfg); child_cfg->destroy(child_cfg); DBG1(DBG_IKE, "installed %N bypass policy for %R", @@ -310,7 +310,8 @@ static bool remove_exclude(private_unity_handler_t *this, chunk_t data) DBG1(DBG_IKE, "uninstalling %N bypass policy for %R", configuration_attribute_type_names, UNITY_LOCAL_LAN, ts); ts->destroy(ts); - success = charon->shunts->uninstall(charon->shunts, name) && success; + success = charon->shunts->uninstall(charon->shunts, "unity", + name) && success; } list->destroy(list); return success; |
