aboutsummaryrefslogtreecommitdiffstats
path: root/main/fprobe-ulog/fprobe-nflog.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-07-14 08:00:59 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-07-14 08:02:21 +0300
commit75981f53078a55e53eae0c13dfc46e2de051247b (patch)
tree5819d24b958940771ea013acec0f4fd410a30c9c /main/fprobe-ulog/fprobe-nflog.patch
parent784a471f8455cc073da6b19c76db95f0a935ca96 (diff)
downloadaports-75981f53078a55e53eae0c13dfc46e2de051247b.tar.bz2
aports-75981f53078a55e53eae0c13dfc46e2de051247b.tar.xz
main/fprobe-ulog: fix nflog patch to not exit prematurely
nfnl_catch() can return stop in certain transient error conditions
Diffstat (limited to 'main/fprobe-ulog/fprobe-nflog.patch')
-rw-r--r--main/fprobe-ulog/fprobe-nflog.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/fprobe-ulog/fprobe-nflog.patch b/main/fprobe-ulog/fprobe-nflog.patch
index 8b66a23433..6e1e76e988 100644
--- a/main/fprobe-ulog/fprobe-nflog.patch
+++ b/main/fprobe-ulog/fprobe-nflog.patch
@@ -475,8 +475,8 @@ diff -ru fprobe-ulog-1.2.orig/src/fprobe-ulog.c fprobe-ulog-1.2/src/fprobe-ulog.
+
+void *cap_thread()
+{
-+ while (nfnl_catch(nflog_nfnlh(nflog_handle)) != NFNL_CB_STOP)
-+ ;
++ while (!killed)
++ nfnl_catch(nflog_nfnlh(nflog_handle));
+
return 0;
}