summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-show-dhclient.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-dhclient.pl b/scripts/vyatta-show-dhclient.pl
index 8c77ae5..b696f8f 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -38,7 +38,7 @@ sub dhclient_get_lease_files {
my @lease_files;
my $LS;
if ($intf eq "all") {
- my $file = "dhclient_eth";
+ my $file = "dhclient_";
open($LS,"ls $lease_dir |grep '^$file.*\_lease\$' | sort |");
} else {
my $file = "dhclient_$intf";