diff options
Diffstat (limited to 'src/conf_mode/interfaces-tunnel.py')
-rwxr-xr-x | src/conf_mode/interfaces-tunnel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py index bf643f3d1..1a7e9a96d 100755 --- a/src/conf_mode/interfaces-tunnel.py +++ b/src/conf_mode/interfaces-tunnel.py @@ -119,7 +119,7 @@ def verify(tunnel): raise ConfigError('Option source-interface can not be used with ' \ 'encapsulation "sit" or "gre-bridge"') elif tunnel['encapsulation'] == 'gre': - if is_ipv6(tunnel['local_ip']): + if 'local_ip' in tunnel and is_ipv6(tunnel['local_ip']): raise ConfigError('Can not use local IPv6 address is for mGRE tunnels') def generate(tunnel): |