[ULOGD2 PATCH 09/11] Fix some initialisation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes some improper initialization in ulogd.c.

Signed-off-by: Eric Leblond <eric@xxxxxx>
---
 src/ulogd.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/ulogd.c b/src/ulogd.c
index 429f472..e69079d 100644
--- a/src/ulogd.c
+++ b/src/ulogd.c
@@ -97,7 +97,6 @@ static struct config_keyset ulogd_kset = {
 			.key = "logfile",
 			.type = CONFIG_TYPE_CALLBACK,
 			.options = CONFIG_OPT_NONE,
-			.u.string = ULOGD_LOGFILE_DEFAULT,
 			.u.parser = &logfile_open,
 		},
 		{
@@ -1022,7 +1021,7 @@ static struct option opts[] = {
 	{ "configfile", 1, NULL, 'c'},
 	{ "uid", 1, NULL, 'u' },
 	{ "info", 1, NULL, 'i' },
-	{ 0 }
+	{NULL, 0, NULL, 0}
 };
 
 int main(int argc, char* argv[])
-- 
1.5.4.3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux