diff options
author | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-12-26 15:29:57 -0800 |
---|---|---|
committer | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-12-26 15:29:57 -0800 |
commit | f62565d998f5ed5f85f91a00f5dbf0db9792205c (patch) | |
tree | 3456e5e7dd09bf3f3c510fb46f573debce2fd357 /scripts | |
parent | 7b1b9d3ac8dd2ed2121dc7ff75e994388918d63c (diff) | |
download | vyatta-cfg-system-f62565d998f5ed5f85f91a00f5dbf0db9792205c.tar.gz vyatta-cfg-system-f62565d998f5ed5f85f91a00f5dbf0db9792205c.zip |
mgre support initial commit.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-tunnel-cleanup | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |