HomeFreeBSD

Use the FQDN in the newsyslog log message when RFC 5424 is enabled.

Description

Use the FQDN in the newsyslog log message when RFC 5424 is enabled.

The RFC 5424 spec mentions that logging FQDNs over short hostnames is
preferred. Alter this code, so that the hostname doesn't get truncated
on startup. Keep track of the length of the short hostname, so that
fprintf() can do the truncation where necessary.

MFC after: 1 month

Details

Provenance
edAuthored on
Parents
rS336085: Stop using ../zfs/libzfs.h but instead use libzfs.h.
Branches
Unknown
Tags
Unknown