diff options
author | Mark W. Eichin <eichin@mit.edu> | 1987-07-18 13:20:42 +0000 |
---|---|---|
committer | Mark W. Eichin <eichin@mit.edu> | 1987-07-18 13:20:42 +0000 |
commit | 96a2d305566b52ba4aab2236bae2de8081de268e (patch) | |
tree | b1cc65cd181f4d4bcd9a699bf89980c2aa08636f /clients/syslogd | |
parent | acd5deb16c2ab03496c66cb7e38cb7868a62adc3 (diff) |
Allowed forwarding hosts to be identified in zephyr notices (added iov[2].)
Mark W Eichin
Diffstat (limited to 'clients/syslogd')
-rw-r--r-- | clients/syslogd/syslogd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clients/syslogd/syslogd.c b/clients/syslogd/syslogd.c index 85772da..1493835 100644 --- a/clients/syslogd/syslogd.c +++ b/clients/syslogd/syslogd.c @@ -658,7 +658,9 @@ logmsg(pri, msg, from, flags) break; case F_ZEPHYR: - (void) sprintf(line, "%.15s %s", iov[0].iov_base, + (void) sprintf(line, "%.15s (%s) %s", + iov[0].iov_base, + iov[2].iov_base, iov[4].iov_base); (void) sprintf(pri_fac_str, "%s.%s", FacNames[fac].c_name, |