summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Keepalived.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:44 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:44 -0800
commit62af8baf3a696f774430117927440c114248a81d (patch)
tree77956280017b2dff1c06e29d9c04b096f68bc552 /lib/Vyatta/Keepalived.pm
parent5021e2073b50f3f2022d19c07870b11604548689 (diff)
downloadvyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.tar.gz
vyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.zip
Convert to Vyatta::Config hierarchy
Diffstat (limited to 'lib/Vyatta/Keepalived.pm')
-rwxr-xr-xlib/Vyatta/Keepalived.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Keepalived.pm b/lib/Vyatta/Keepalived.pm
index 1dbf2a93..325022f6 100755
--- a/lib/Vyatta/Keepalived.pm
+++ b/lib/Vyatta/Keepalived.pm
@@ -27,7 +27,7 @@ our @EXPORT = qw(get_conf_file get_state_script get_state_file
start_daemon restart_daemon stop_daemon);
use base qw(Exporter);
-use VyattaConfig;
+use Vyatta::Config;
use POSIX;
use strict;
@@ -143,7 +143,7 @@ sub vrrp_get_config {
my ($intf, $group) = @_;
my $path;
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
if ($intf =~ m/(eth\d+)\.(\d+)/) {
$path = "interfaces ethernet $1 vif $2";