summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-08 17:10:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-08 17:10:52 +0200
commit2a6b13ae0d11244648f3705dc20cc90aa83b9a3d (patch)
tree66b2ee7c2e855e959a958e45af4d9d438f9c77b2
parent830be9525052f89aa5b436883083f0df047842bc (diff)
downloadrsyslog-2a6b13ae0d11244648f3705dc20cc90aa83b9a3d.tar.gz
rsyslog-2a6b13ae0d11244648f3705dc20cc90aa83b9a3d.tar.xz
rsyslog-2a6b13ae0d11244648f3705dc20cc90aa83b9a3d.zip
bugfix: some legacy options not correctly interpreted - thanks to
varmojfekoj for the patch
-rw-r--r--ChangeLog2
-rw-r--r--syslogd.c2
2 files changed, 3 insertions, 1 deletions
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;