]> git.ipfire.org Git - thirdparty/strongswan.git/commit
vici: Don't fall back to uninstalling traps if a matching shunt was found
authorTobias Brunner <tobias@strongswan.org>
Wed, 22 Mar 2017 16:19:31 +0000 (17:19 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 23 Mar 2017 17:29:18 +0000 (18:29 +0100)
commit550bd654a72929f3423dd5e3a05249050e2a6b7a
tree76d3b29972e0ef431521f3a2bbacfa3d66833376
parent5e8e71d4050cd3a6e123252d87920196be33ab70
vici: Don't fall back to uninstalling traps if a matching shunt was found

This is different if `ike` and `child` are provided and uninstall()
fails as we call that without knowing whether a matching shunt exists.
But if `ike` is not provided we explicitly search for a matching shunt
and if found don't need to look for a trap policy.
src/libcharon/plugins/vici/vici_control.c