summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index 0ffff06a1..7958f61ea 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -105,7 +105,7 @@ def apply(tunnel):
tmp = get_json_iface_options(interface)
if tmp: encap = dict_search('linkinfo.info_kind', tmp)
- if 'deleted' in tunnel or 'encapsulation_changed' in tunnel or encap == 'gretap':
+ if 'deleted' in tunnel or 'encapsulation_changed' in tunnel or encap in ['gretap', 'ip6gretap']:
if interface in interfaces():
tmp = Interface(interface)
tmp.remove()