summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-03 15:46:51 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-03 15:46:51 -0800
commitbc69a20d42ad33863a72ff9a6dbe20dc559faf10 (patch)
treea9c5a05e12da4de99fd5654c7a297ff6fc412d6b
parented5dd4c71775a2f1a15b25a29b7272a95a639cf1 (diff)
downloadvyatta-op-vpn-bc69a20d42ad33863a72ff9a6dbe20dc559faf10.tar.gz
vyatta-op-vpn-bc69a20d42ad33863a72ff9a6dbe20dc559faf10.zip
Fix reference to Vyatta::VPNUtil
Should be Vyatta::VPN::Util
-rwxr-xr-xscripts/vyatta-show-vpn.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-show-vpn.pl b/scripts/vyatta-show-vpn.pl
index 503af6e..6f896c2 100755
--- a/scripts/vyatta-show-vpn.pl
+++ b/scripts/vyatta-show-vpn.pl
@@ -55,12 +55,12 @@ if ($arg0 eq 'secrets') {
if ($arg0 eq 'rsa-keys') {
- use Vyatta::VPNUtil;
- my $key_file = Vyatta::VPNUtil::rsa_get_local_key_file();
+ use Vyatta::VPN::Util;
+ my $key_file = rsa_get_local_key_file();
unless ( -r $key_file) {
die "No key file $key_file found.\n";
}
- my $pubkey = Vyatta::VPNUtil::rsa_get_local_pubkey($key_file);
+ my $pubkey = rsa_get_local_pubkey($key_file);
if ($pubkey eq 0) {
die "No local pubkey found.\n";
}