From 2dc5f65235d321b071ed4a6811de64f8c036ba66 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Wed, 10 Sep 2014 16:13:55 +0200 Subject: Remove gre-multipoint encapsulation option, make the tunnel multipoint if 'remote-ip' is nowt set. --- scripts/vyatta-tunnel-cleanup | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/vyatta-tunnel-cleanup') 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; } -- cgit v1.2.3