diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-29 18:50:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-29 18:50:07 +0200 |
commit | b36f585f63a6c447164512ec3f6605a77b487185 (patch) | |
tree | 18b3730f81ea6cc4910a265159a7f1862a5309ab /scripts | |
parent | 8602638e32c8cae68e9fdebb0639e9010963280a (diff) | |
download | vyatta-op-b36f585f63a6c447164512ec3f6605a77b487185.tar.gz vyatta-op-b36f585f63a6c447164512ec3f6605a77b487185.zip |
op-mode: dhcp: T2399: fix display of all leases
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-show-dhclient.pl | 2 |
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 { |