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
+2 -1
View File
@@ -677,7 +677,8 @@ main(int argc, char *argv[])
break;
case 'N':
NoBind = 1;
SecureMode = 1;
if (!SecureMode)
SecureMode = 1;
break;
case 'n':
resolve = 0;