diff options
author | ps <ps@FreeBSD.org> | 2000-08-07 01:00:01 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-08-07 01:00:01 +0000 |
commit | 045b3ce3336a72d0954f825cd9187f64a1761e2d (patch) | |
tree | f202b89741a882e5c366711959ce09060878931c /usr.sbin/syslogd/syslogd.c | |
parent | 947183f6d91a6f98aaf77cba012c78a9aea89efb (diff) | |
download | FreeBSD-src-045b3ce3336a72d0954f825cd9187f64a1761e2d.zip FreeBSD-src-045b3ce3336a72d0954f825cd9187f64a1761e2d.tar.gz |
Actually make syslogd understand the new -n option by putting it
in getopt.
Submitted by: Clive Lin <clive@CirX.ORG>
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 938acea..1c906ae 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -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) |