From e90f7b88ee066dd66d5df193be526ce6b9e167f8 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Sat, 9 Feb 2008 17:24:41 +0000 Subject: From: Eric Leblond : Fix a crash in ulogd2 when dealing with default value given as string. --- src/ulogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ulogd.c b/src/ulogd.c index fe4106a..de2fd96 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -290,7 +290,7 @@ void get_plugin_infos(struct ulogd_plugin *me) case CONFIG_TYPE_STRING: printf("String"); printf(", Default: %s", - me->config_kset->ces[i].u.value); + me->config_kset->ces[i].u.string); break; case CONFIG_TYPE_INT: printf("Integer"); -- cgit v1.2.3