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 1e21ce1..ecfa67b 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -36,7 +36,7 @@ sub dhclient_get_lease_files {
if ( $intf eq "all" ) {
opendir( my $dh, $lease_dir ) or die "Can't open $lease_dir: $!";
- @lease_files = grep { /^dhclient_.*i.lease$/ } readdir($dh);
+ @lease_files = grep { /^dhclient_.*.lease$/ } readdir($dh);
closedir $dh;
}
else {