summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-04-19 18:46:30 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-04-19 18:46:30 -0700
commit3466ca3ee5fe8d7522b1499b1755c577552bfeb0 (patch)
tree771cbf7df1dc9ebfff89eeca8c4c4175da66daf6
parented5f29dde410f7d66e139af2febf8b28cf1d24a7 (diff)
downloadvyatta-cfg-vpn-3466ca3ee5fe8d7522b1499b1755c577552bfeb0.tar.gz
vyatta-cfg-vpn-3466ca3ee5fe8d7522b1499b1755c577552bfeb0.zip
Fix Bug 5542
* add commment for op-mode commands' dependency on config-mode check
-rwxr-xr-xscripts/vpn-config.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 6c7dee8..e40e3ba 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -284,6 +284,7 @@ if ( $vcVPN->exists('ipsec') ) {
my @interfaces = $vcVPN->returnValues('ipsec ipsec-interfaces interface');
if ( @interfaces == 0 ) {
$error = 1;
+ #*THIS CHECK'S ALSO USED BY OP-MODE CMNDS TO CHECK IF IPSEC IS CONFIGURED*#
print STDERR "$vpn_cfg_err No IPSEC interfaces specified.\n";
} else {