by duplicating the interpretation of the message.
Signed-off-by: Eric Leblond <eric@inl.fr>
struct nflog_data *nfa, void *data)
{
struct ulogd_pluginstance *upi = data;
-
+ struct ulogd_pluginstance *npi = NULL;
+ int ret = 0;
+
+ /* since we support the re-use of one instance in several
+ * different stacks, we duplicate the message to let them know */
+ llist_for_each_entry(npi, &upi->plist, plist) {
+ ret = interp_packet(npi, nfa);
+ if (ret != 0)
+ return ret;
+ }
return interp_packet(upi, nfa);
}