mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-09 13:42:56 +00:00
Actually make syslogd understand the new -n option by putting it
in getopt. Submitted by: Clive Lin <clive@CirX.ORG>
This commit is contained in:
parent
197ef30718
commit
2835a5d8c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64317
@ -311,7 +311,7 @@ main(argc, argv)
|
||||
pid_t ppid = 1;
|
||||
socklen_t len;
|
||||
|
||||
while ((ch = getopt(argc, argv, "a:dl:f:m:p:rsuv")) != -1)
|
||||
while ((ch = getopt(argc, argv, "a:dl:f:m:p:nsuv")) != -1)
|
||||
switch (ch) {
|
||||
case 'a': /* allow specific network addresses only */
|
||||
if (allowaddr(optarg) == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user