HomeFreeBSD

MFC r336086:

Description

MFC r336086:

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.

Details

Committed
edAug 27 2018, 7:32 AM
Parents
rS338333: MFC r338105: Remove extra M_ZERO from NG_MKRESPONSE() argument.
Branches
Unknown
Tags
Unknown