summaryrefslogtreecommitdiffstats
path: root/ulogd/extensions/ulogd_OPRINT.c
diff options
context:
space:
mode:
authorlaforge <laforge>2000-11-16 17:20:52 +0000
committerlaforge <laforge>2000-11-16 17:20:52 +0000
commit100b59f4bd207ac36aca39b6f011efbb132fe1cf (patch)
tree51a1d8514176d93520244899568cc86d0738d96e /ulogd/extensions/ulogd_OPRINT.c
parentbdc6755964040e6aee4ec8e6fd7fdf1ab73d455a (diff)
Major update. Almost everything has changed.
- no more dynamic allocations at runtime - only once at startup - less list traversal through interpreter and key hashes - output plugins can request only certain results!
Diffstat (limited to 'ulogd/extensions/ulogd_OPRINT.c')
-rw-r--r--ulogd/extensions/ulogd_OPRINT.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ulogd/extensions/ulogd_OPRINT.c b/ulogd/extensions/ulogd_OPRINT.c
index 0b551b6..3fa42ed 100644
--- a/ulogd/extensions/ulogd_OPRINT.c
+++ b/ulogd/extensions/ulogd_OPRINT.c
@@ -1,11 +1,11 @@
-/* ulogd_MAC.c, Version $Revision: 1.3 $
+/* ulogd_MAC.c, Version $Revision: 1.4 $
*
* ulogd output target for logging to a file
*
* (C) 2000 by Harald Welte <laforge@gnumonks.org>
* This software is released under the terms of GNU GPL
*
- * $Id: ulogd_OPRINT.c,v 1.3 2000/09/12 14:29:37 laforge Exp $
+ * $Id: ulogd_OPRINT.c,v 1.4 2000/09/22 06:54:33 laforge Exp $
*
*/
@@ -34,7 +34,7 @@ int _output_print(ulog_iret_t *res)
ulog_iret_t *ret;
fprintf(of, "===>PACKET BOUNDARY\n");
- for (ret = res; ret; ret = ret->next) {
+ for (ret = res; ret; ret = ret->cur_next) {
fprintf(of,"%s=", ret->key);
switch (ret->type) {
case ULOGD_RET_STRING: