summaryrefslogtreecommitdiff
path: root/scripts/vyatta-vpn-ppp-updown.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-vpn-ppp-updown.pl')
-rwxr-xr-xscripts/vyatta-vpn-ppp-updown.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-vpn-ppp-updown.pl b/scripts/vyatta-vpn-ppp-updown.pl
index 5f440e9..1b5cfe6 100755
--- a/scripts/vyatta-vpn-ppp-updown.pl
+++ b/scripts/vyatta-vpn-ppp-updown.pl
@@ -24,7 +24,7 @@
#
use lib "/opt/vyatta/share/perl5/";
-use VyattaConfig;
+use Vyatta::Config;
use POSIX;
use strict;
use warnings;
@@ -99,7 +99,7 @@ sub vpn_remove_intf {
my $pppoe_intf = $ARGV[0];
my $mode = $ARGV[1];
-my $config = new VyattaConfig;
+my $config = new Vyatta::Config;
$config->setLevel("vpn ipsec ipsec-interfaces");
my @ipsec_intfs = $config->returnOrigValues("interface");