summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-09-22 21:18:23 +0700
committerGitHub <noreply@github.com>2020-09-22 21:18:23 +0700
commit10b8c6fdde6b6abc06200d60218950a9af81e34e (patch)
tree944e554cb97a13214b74b25b5ea31546ebfe30f6
parent13d2b50ec7ed3641bb56c2fdcce07807777bf220 (diff)
parente93ca9815a95329d42889ded196b4943b639d189 (diff)
downloadvyatta-cfg-vpn-10b8c6fdde6b6abc06200d60218950a9af81e34e.tar.gz
vyatta-cfg-vpn-10b8c6fdde6b6abc06200d60218950a9af81e34e.zip
Merge pull request #38 from sever-sever/T2895
vfg-vpn: T2895: Removing unnecessary duplicate check for leftsubnet
-rwxr-xr-xscripts/vpn-config.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index ba5dc8a..6720583 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -528,10 +528,6 @@ if ($vcVPN->exists('ipsec')) {
$leftsubnet = '0.0.0.0/0';
}
- if (defined($leftsubnet)) {
- $genout .= "\tleftsubnet=$leftsubnet\n";
- }
-
my $remotesubnet = $vcVPN->returnValue("ipsec site-to-site peer $peer $tunKeyword remote prefix");
if ($isVti) {
$remotesubnet = 'any';