mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
dhcp-lease: Comment out some superfluous output.
This commit is contained in:
@@ -107,11 +107,12 @@ sub process_leases() {
|
|||||||
# skip outdated lines
|
# skip outdated lines
|
||||||
next if ($opt_keep eq 'active' and $3 lt $gm_now);
|
next if ($opt_keep eq 'active' and $3 lt $gm_now);
|
||||||
|
|
||||||
if ($counter) {
|
# I like 'human' output, but this part is not helpful when parsing that human output by another script. --Ben
|
||||||
my $percent = (($counter / $total_leases)*100);
|
#if ($counter) {
|
||||||
printf "Processing: %2d%% complete\r", $percent;
|
# my $percent = (($counter / $total_leases)*100);
|
||||||
++$counter;
|
# printf "Processing: %2d%% complete\r", $percent;
|
||||||
}
|
# ++$counter;
|
||||||
|
#}
|
||||||
|
|
||||||
my $hostname = "-NA-";
|
my $hostname = "-NA-";
|
||||||
if ($6) {
|
if ($6) {
|
||||||
|
|||||||
Reference in New Issue
Block a user