[netfilter-cvslog] r7335 - branches/ulog/ulogd2/util
pablo at netfilter.org
pablo at netfilter.org
Sun Feb 3 13:10:48 CET 2008
Author: pablo at netfilter.org
Date: 2008-02-03 13:10:48 +0100 (Sun, 03 Feb 2008)
New Revision: 7335
Modified:
branches/ulog/ulogd2/util/db.c
Log:
From: Eric Leblond <eric at inl.fr>
MySQL need no to be able to print RAW data to be able to display
IP addresses.
Modified: branches/ulog/ulogd2/util/db.c
===================================================================
--- branches/ulog/ulogd2/util/db.c 2008-02-03 12:08:23 UTC (rev 7334)
+++ branches/ulog/ulogd2/util/db.c 2008-02-03 12:10:48 UTC (rev 7335)
@@ -295,9 +295,7 @@
sprintf(di->stmt_ins, "',");
break;
case ULOGD_RET_RAW:
- ulogd_log(ULOGD_NOTICE,
- "%s: type RAW not supported by MySQL\n",
- upi->input.keys[i].name);
+ sprintf(di->stmt_ins, "%s,", res->u.value.ptr);
break;
default:
ulogd_log(ULOGD_NOTICE,
More information about the netfilter-cvslog
mailing list