Improve POM error message
Hi,
Here is a one liner patch agains Netfilter_POM.pm which improves error message. This patch will give more clear information in the situation that there are multiple lineadd files for a single file.
Netfilter_POM.pm (working copy) renamed from Netfilter_POM.pm (revision 3808) +1 -1
@@ -630,7 +630,7 @@ close(SRC); if ($found == 0) { - $self->{ERRMSG} .= "unable to find ladd slot in src $srcfile\n"; + $self->{ERRMSG} .= "unable to find ladd slot in src $srcfile ($laddfile)\n"; return 0; } elsif (!$test && $found == -1) { $self->{ERRMSG} .= "unable to find all to-be-removed lines in $srcfile\n";
Signature · 1 line
lark
Quoted 5 lines · Wang Jian
Hi,
Here is a one liner patch agains Netfilter_POM.pm which improves error message. This patch will give more clear information in the situation that there are multiple lineadd files for a single file.
thanks, patch applied.
Signature · 5 lines
- Harald Welte <[email protected]> http://netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie