From 62af8baf3a696f774430117927440c114248a81d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 21 Nov 2008 17:05:44 -0800 Subject: Convert to Vyatta::Config hierarchy --- lib/Vyatta/Keepalived.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Vyatta') 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"; -- cgit v1.2.3