summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-03 20:35:21 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-03 20:35:21 +0100
commitd4c40adfeac4686174388878520138b640884c45 (patch)
treefe80a962055f9e5025c4be7955effd84d1810fad /src/conf_mode
parent1442762a153df454dad2f282da21c745c13610ce (diff)
downloadvyos-1x-d4c40adfeac4686174388878520138b640884c45.tar.gz
vyos-1x-d4c40adfeac4686174388878520138b640884c45.zip
tunnel: T2966: add ip6gretap encapsulation support
Diffstat (limited to 'src/conf_mode')
-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()