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:
parent
2f20d80692
commit
9589362bc9
@ -677,7 +677,8 @@ main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
case 'N':
|
case 'N':
|
||||||
NoBind = 1;
|
NoBind = 1;
|
||||||
SecureMode = 1;
|
if (!SecureMode)
|
||||||
|
SecureMode = 1;
|
||||||
break;
|
break;
|
||||||
case 'n':
|
case 'n':
|
||||||
resolve = 0;
|
resolve = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user