p-o-m: nf-log fix
Hi, I think there is small bug in nf-log p'o'm patchset, can You please apply following patch: (in case it is correct)
diff -Naur patch-o-matic-ng-20040809/nf-log/linux-2.4.patch patch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch
--- patch-o-matic-ng-20040809/nf-log/linux-2.4.patch 2004-02-19
12:36:55.000000000 +0100
+++ patch-o-matic-ng-20040809-nf-log_fix/nf-log/linux-2.4.patch
2004-08-10 12:07:10.644846287 +0200
@@ -402,7 +402,7 @@
+ }
+
+ /* if threshold is reached, send message to userspace */
-+ if (qlen >= loginfo.qthreshold) {
++ if (ub->qlen >= loginfo.qthreshold) { + if (loginfo.qthreshold > 1)
+ nlh->nlmsg_type = NLMSG_DONE;
+ }
thanks,
n.
Signature · 13 lines
------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: [email protected] -------------------------------------