diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-25 12:31:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-09 02:22:28 -0400 |
commit | 23d05b522385ee28da0f7d3769d1840b47a17a59 (patch) | |
tree | e1c22f817d38691f29d9ad288712c80607b55458 /src | |
parent | d53df87079223d6e65473d7d207512e23da5c029 (diff) |
FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"
Diffstat (limited to 'src')
-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 b3ff46b5da..7166b94d71 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -429,12 +429,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 |