diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-05-29 15:18:36 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-05-29 15:18:36 -0700 |
commit | d6d0e6acf15592a0547bbed90bd16ba8b813f0ed (patch) | |
tree | 5e5c3bfd465850e38558738a9ddf6ee248619071 /lib | |
parent | 6b1986c30db0f0eafc9df92ee5c8c7f069af2ab2 (diff) | |
download | vyatta-cfg-d6d0e6acf15592a0547bbed90bd16ba8b813f0ed.tar.gz vyatta-cfg-d6d0e6acf15592a0547bbed90bd16ba8b813f0ed.zip |
Fix "show vrrp" regression caused by b68ac2b1969060ea6fa2f011a3107c83ad26e96d.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Vyatta/Keepalived.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Keepalived.pm b/lib/Vyatta/Keepalived.pm index 403d385..870af98 100755 --- a/lib/Vyatta/Keepalived.pm +++ b/lib/Vyatta/Keepalived.pm @@ -169,10 +169,10 @@ sub get_state_files { my @state_files; if ($group eq "all") { - @state_files = grep { /^vrrpd_$intf.*\.state$/ } $sdir; + @state_files = grep { /^vrrpd_$intf.*\.state$/ } readdir($sdir); } else { my $intf_group = $intf . "_" . $group . ".state"; - @state_files = grep { /^vrrpd_$intf_group$/ } $sdir; + @state_files = grep { /^vrrpd_$intf_group$/ } readdir($sdir); } close $sdir; |