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:29:07 -0400 |
commit | 0c938ff97c723ee2cc837bcfd8ff4956c05f006b (patch) | |
tree | e537efd0821050921a2c063533b0a136800bcebb | |
parent | ea908b646e5660aea7ed71d4423d71f343ba28d3 (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; } |