From: /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org Date: Sat, 9 Feb 2008 17:24:41 +0000 (+0000) Subject: From: Eric Leblond : X-Git-Tag: ulogd-2.0.0beta2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90f7b88ee066dd66d5df193be526ce6b9e167f8;p=thirdparty%2Fulogd2.git From: Eric Leblond : Fix a crash in ulogd2 when dealing with default value given as string. --- 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");