From f62565d998f5ed5f85f91a00f5dbf0db9792205c Mon Sep 17 00:00:00 2001 From: Saurabh Mohan Date: Wed, 26 Dec 2012 15:29:57 -0800 Subject: mgre support initial commit. --- scripts/vyatta-tunnel-cleanup | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/vyatta-tunnel-cleanup b/scripts/vyatta-tunnel-cleanup index 979fb7bd..af73bc04 100755 --- a/scripts/vyatta-tunnel-cleanup +++ b/scripts/vyatta-tunnel-cleanup @@ -26,6 +26,9 @@ 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