]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/logwatch/logwatch-7.5.4-dhcpd_reuse_lease_entries.patch
core154: Ship dma
[people/pmueller/ipfire-2.x.git] / src / patches / logwatch / logwatch-7.5.4-dhcpd_reuse_lease_entries.patch
CommitLineData
5e11ef0f
MF
1diff --git a/scripts/services/dhcpd b/scripts/services/dhcpd
2index 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+//) {