summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-29 18:50:07 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-29 18:50:07 +0200
commitb36f585f63a6c447164512ec3f6605a77b487185 (patch)
tree18b3730f81ea6cc4910a265159a7f1862a5309ab /scripts
parent8602638e32c8cae68e9fdebb0639e9010963280a (diff)
downloadvyatta-op-b36f585f63a6c447164512ec3f6605a77b487185.tar.gz
vyatta-op-b36f585f63a6c447164512ec3f6605a77b487185.zip
op-mode: dhcp: T2399: fix display of all leases
Diffstat (limited to 'scripts')
-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 {