syslogd: Fix bug that caused -N to drop SecureMode if specified after -s

MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/541
This commit is contained in:
jfranklin13
2021-09-28 16:49:15 +02:00
committed by Mark Johnston
parent 2f20d80692
commit 9589362bc9
+1
View File
@@ -677,6 +677,7 @@ main(int argc, char *argv[])
break; break;
case 'N': case 'N':
NoBind = 1; NoBind = 1;
if (!SecureMode)
SecureMode = 1; SecureMode = 1;
break; break;
case 'n': case 'n':