diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-09-10 16:13:55 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-09-10 16:13:55 +0200 |
commit | 2dc5f65235d321b071ed4a6811de64f8c036ba66 (patch) | |
tree | de4dd2c1c76ae363264e99041a20b5d95196e1bd /scripts/vyatta-tunnel-cleanup | |
parent | cffeb5c8d05a996049e487a75f06b4cdd68b23ae (diff) | |
download | vyatta-cfg-system-2dc5f65235d321b071ed4a6811de64f8c036ba66.tar.gz vyatta-cfg-system-2dc5f65235d321b071ed4a6811de64f8c036ba66.zip |
Remove gre-multipoint encapsulation option, make the tunnel multipoint if 'remote-ip' is nowt set.
Diffstat (limited to 'scripts/vyatta-tunnel-cleanup')
-rwxr-xr-x | scripts/vyatta-tunnel-cleanup | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/vyatta-tunnel-cleanup b/scripts/vyatta-tunnel-cleanup index af73bc04..979fb7bd 100755 --- a/scripts/vyatta-tunnel-cleanup +++ b/scripts/vyatta-tunnel-cleanup @@ -26,9 +26,6 @@ my %tunnel; foreach my $tun ( $config->listEffectiveNodes() ) { my $mode = $config->returnEffectiveValue("$tun encapsulation"); next if ($interface eq $tun); # don't count the one being deleted - if ($mode eq "gre-multipoint") { - $mode = "gre"; - } $tunnel{$mode} = 1; } |