diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:06:02 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-24 08:37:08 -0800 |
commit | 2a7fd0a85f7a4b7a97bb1a7e32379406d106c6c0 (patch) | |
tree | 81d9767648caa87ad84612e9b6cfe8693bb797b7 /lib | |
parent | 0a89c7e5a37b84a1c9e96343ba519982fa00f6cb (diff) | |
download | vyatta-cfg-vpn-2a7fd0a85f7a4b7a97bb1a7e32379406d106c6c0.tar.gz vyatta-cfg-vpn-2a7fd0a85f7a4b7a97bb1a7e32379406d106c6c0.zip |
Convert to Vyatta:: hierarchy
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/VPN/Util.pm (renamed from lib/Vyatta/VPNUtil.pm) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Vyatta/VPNUtil.pm b/lib/Vyatta/VPN/Util.pm index a5bfe71..1f0af2d 100755 --- a/lib/Vyatta/VPNUtil.pm +++ b/lib/Vyatta/VPN/Util.pm @@ -22,7 +22,7 @@ # **** End License **** # -package Vyatta::VPNUtil; +package Vyatta::VPN::Util; our @EXPORT = qw(rsa_get_local_key_file LOCAL_KEY_FILE_DEFAULT rsa_get_local_pubkey is_vpn_running vpn_debug enableICMP); use base qw(Exporter); @@ -30,7 +30,7 @@ use base qw(Exporter); use strict; use warnings; -use VyattaConfig; +use Vyatta::Config; use constant LOCAL_KEY_FILE_DEFAULT => '/opt/vyatta/etc/config/ipsec.d/rsa-keys/localhost.key'; @@ -45,7 +45,7 @@ sub rsa_get_local_key_file { # # Read configuration tree # - my $vc = new VyattaConfig(); + my $vc = new Vyatta::Config(); $vc->setLevel('vpn'); my $key_file_override = $vc->returnOrigValue('rsa-keys local-key file'); |