diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-09-22 21:18:23 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 21:18:23 +0700 |
commit | 10b8c6fdde6b6abc06200d60218950a9af81e34e (patch) | |
tree | 944e554cb97a13214b74b25b5ea31546ebfe30f6 | |
parent | 13d2b50ec7ed3641bb56c2fdcce07807777bf220 (diff) | |
parent | e93ca9815a95329d42889ded196b4943b639d189 (diff) | |
download | vyatta-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-x | scripts/vpn-config.pl | 4 |
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'; |