summaryrefslogtreecommitdiff
path: root/scripts/vyatta-tunnel-cleanup
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-09-10 16:13:55 +0200
committerKim Hagen <khagen@multi-development.com>2014-09-10 16:13:55 +0200
commit2dc5f65235d321b071ed4a6811de64f8c036ba66 (patch)
treede4dd2c1c76ae363264e99041a20b5d95196e1bd /scripts/vyatta-tunnel-cleanup
parentcffeb5c8d05a996049e487a75f06b4cdd68b23ae (diff)
downloadvyatta-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-xscripts/vyatta-tunnel-cleanup3
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;
}