]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/logwatch/logwatch-7.5.4-dhcpd_reuse_lease_entries.patch
logwatch: Added upstream patch for Bug #12242
[ipfire-2.x.git] / src / patches / logwatch / logwatch-7.5.4-dhcpd_reuse_lease_entries.patch
1 diff --git a/scripts/services/dhcpd b/scripts/services/dhcpd
2 index 87312f7..bb5cd4c 100644
3 --- a/scripts/services/dhcpd
4 +++ b/scripts/services/dhcpd
5 @@ -79,7 +79,9 @@ while (my $line = <STDIN>) {
6 ($line =~ /^Solicit message from/) or
7 ($line =~ /^Sending Advertise to/) or
8 ($line =~ /^pool [0-9a-f]+ /) or
9 - ($line =~ /^[^ ]* file: /)
10 + ($line =~ /^[^ ]* file: /) or
11 + ($line =~ /^reuse_lease: lease age \d+ \(secs\) under \d+\% threshold, reply with unaltered, existing lease for/) or
12 + 0 # noop, but makes diffs easier when appending ignore statements
13 ) {
14 # Ignore these lines
15 } elsif ($line =~ s/Listening on\s+//) {