diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-25 12:31:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-21 18:41:46 -0400 |
commit | 3b7437b0f1b21e1c3e5f86dfb9de00a4d817328a (patch) | |
tree | f3eee6e97f1a258db51ea827ad0985db49bd11a3 /src/resolve/resolved-manager.c | |
parent | cdc7ae659101242f0d877f1ebaee8c66095bde15 (diff) |
FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r-- | src/resolve/resolved-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 92ade820ac..9bb623c321 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -430,12 +430,12 @@ static int manager_watch_hostname(Manager *m) { r = determine_hostname(&m->llmnr_hostname, &m->mdns_hostname); if (r < 0) { - log_info("Defaulting to hostname 'linux'."); - m->llmnr_hostname = strdup("linux"); + log_info("Defaulting to hostname 'gnu-linux'."); + m->llmnr_hostname = strdup("gnu-linux"); if (!m->llmnr_hostname) return log_oom(); - m->mdns_hostname = strdup("linux.local"); + m->mdns_hostname = strdup("gnu-linux.local"); if (!m->mdns_hostname) return log_oom(); } else |