From 2a6b13ae0d11244648f3705dc20cc90aa83b9a3d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 8 Apr 2008 17:10:52 +0200 Subject: bugfix: some legacy options not correctly interpreted - thanks to varmojfekoj for the patch --- ChangeLog | 2 ++ syslogd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 901bc1d6..ac04af2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ Version 3.14.2 (rgerhards), 2008-04-?? - bugfixes, credits to varmojfekoj: * reset errno before printing a warning message * misspelled directive name in code processing legacy options +- bugfix: some legacy options not correctly interpreted - thanks to + varmojfekoj for the patch --------------------------------------------------------------------------- Version 3.14.1 (rgerhards), 2008-04-04 - bugfix: some messages were emited without hostname diff --git a/syslogd.c b/syslogd.c index ca70e7c3..4265bd45 100644 --- a/syslogd.c +++ b/syslogd.c @@ -3023,7 +3023,7 @@ int realMain(int argc, char **argv) /* END core initializations */ - while ((ch = getopt(argc, argv, "46Ac:dehi:f:g:l:m:M:nqQr::s:t:u:vwx")) != EOF) { + while ((ch = getopt(argc, argv, "46aAc:def:g:hi:l:m:M:nopqQr::s:t:u:vwx")) != EOF) { switch((char)ch) { case '4': family = PF_INET; -- cgit