diff options
| author | cgd <cgd@NetBSD.org> | 1994-02-04 23:42:16 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1994-02-04 23:42:16 +0000 |
| commit | 5bdeccb8d47e77a501ca2c42cc2107fa1fc65053 (patch) | |
| tree | 9ea6bf161b2fece67fed123d3875928ad8438d81 /libexec/identd/parse.c | |
| parent | 1efbe5ebae8aea1ea94dc1af178a654014070959 (diff) | |
add a use for -v, for happy paranoid sysadmins
Diffstat (limited to 'libexec/identd/parse.c')
| -rw-r--r-- | libexec/identd/parse.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/identd/parse.c b/libexec/identd/parse.c index 94db91c038e..94139125e5e 100644 --- a/libexec/identd/parse.c +++ b/libexec/identd/parse.c @@ -1,5 +1,5 @@ /* -** $Id: parse.c,v 1.2 1994/02/04 23:18:01 cgd Exp $ +** $Id: parse.c,v 1.3 1994/02/04 23:42:25 cgd Exp $ ** ** parse.c This file contains the protocol parser ** @@ -304,6 +304,10 @@ int parse(fp, laddr, faddr) continue; } + if (syslog_flag && verbose_flag) + syslog(LOG_NOTICE, "request for (%d,%d) from %s", + lport, fport, gethost(faddr)); + if (debug_flag && syslog_flag) syslog(LOG_DEBUG, " After fscanf(), before k_getuid()"); @@ -367,7 +371,7 @@ int parse(fp, laddr, faddr) if (noident_flag && check_noident(pwp->pw_dir)) { - if (syslog_flag) + if (syslog_flag && verbose_flag) syslog(LOG_NOTICE, "user %s requested HIDDEN-USER for host %s: %d, %d", pwp->pw_name, gethost(faddr), |
