From 4396004fba8e14b9594d6b2795e4978088878884 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 24 Nov 2019 18:37:59 +0100 Subject: [PATCH] Add missing '-k' and '-T' command line flags to getopt() Fixes GitHub issue #2 Signed-off-by: Joachim Nilsson --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index 638e4a2..9c62283 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -265,7 +265,7 @@ int main(int argc, char *argv[]) KeepKernFac = 1; #endif - while ((ch = getopt(argc, argv, "46Aa:b:dHFf:m:nP:p:r:sv?")) != EOF) { + while ((ch = getopt(argc, argv, "46Aa:b:dHFf:km:nP:p:r:sTv?")) != EOF) { switch ((char)ch) { case '4': family = PF_INET;