diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-25 12:31:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-19 12:19:04 -0400 |
commit | 7ac5e5015b20e0447d2fb80301bcf07e69ca9a59 (patch) | |
tree | 46995c9df436b6f64157aba0659155a969cdf152 | |
parent | 49be4e7f85f906d4e20540d80e282d4fe226ff3f (diff) |
FSDG: systemd-resolved: Fallback hostname to "gnu-linux" instead of "linux"
-rw-r--r-- | src/resolve/resolved-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 2ee027791a..daa8292e8b 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -408,10 +408,10 @@ static int determine_hostname(char **full_hostname, char **llmnr_hostname, char static const char *fallback_hostname(void) { /* Determine the fall back hostname. For exposing this system to the outside world, we cannot have it to be - * "localhost" even if that's the compiled in hostname. In this case, let's revert to "linux" instead. */ + * "localhost" even if that's the compiled in hostname. In this case, let's revert to "gnu-linux" instead. */ if (is_localhost(FALLBACK_HOSTNAME)) - return "linux"; + return "gnu-linux"; return FALLBACK_HOSTNAME; } |