diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-25 12:31:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-08-16 21:52:06 -0400 |
commit | 2f221e8d37cb508d188327c35541f9a81c02a4b0 (patch) | |
tree | 2b21d94da89b6aa38a5ef690104cfa308ac889c4 | |
parent | 8739797f067a69e035ce56f40438c2f77e99b1bc (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 01372fc66b..9155ce5c2e 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -387,10 +387,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; } |