summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-07-31 10:47:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-07-31 10:47:55 +0200
commitb28126f76ab0f3a522d2356c11b0909b1d4d48c5 (patch)
tree2b038ba4f6aa11a9584a2f18679b37b2cceeffa6 /src
parent6ed31fff112ab5424bd76536eb8e7aaf54c42da9 (diff)
cleanup: fix inappropriate initializations in ulogd.c
This patch fixes some improper initialization in ulogd.c. Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r--src/ulogd.c3
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[])