path: root/src
diff options
authorPablo Neira Ayuso <>2010-06-17 16:27:37 +0200
committerPablo Neira Ayuso <>2010-06-17 16:27:37 +0200
commit5f039c7d87739defae72da96020ea84a8311eb9c (patch)
treeddf5b50ed6efdc63183dc6199e40d17cfb5c8937 /src
parent712896b182c1e62d5e49f5a6859832708d3dd0fe (diff)
fix wrong list addition in plugin re-use logic
This patch fixes a bug that makes ulogd loops forever while propagating inputs to the output plugin. It is reproducible if you re-use three or more plugin instances. The problem is that the parameters in the list addition are in incorrect order. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ulogd.c b/src/ulogd.c
index aac7be7..f378c6f 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -753,7 +753,7 @@ static int pluginstance_started(struct ulogd_pluginstance *npi)
"%s instance already "
"loaded\n", pi->id);
- llist_add(&pi->plist, &npi->plist);
+ llist_add(&npi->plist, &pi->plist);
return 1;