]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-manager.c
resolved: default to the compile-time fallback hostname 5366/head
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Feb 2017 11:04:51 +0000 (12:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Feb 2017 09:19:26 +0000 (10:19 +0100)
commita25b0dc82d10f8c53ac362f12f9a492062404b34
tree277f0db1b4c19bfdb8304d5f35b6168e0e8f4475
parent8341d4fa04e77afce1a68e920a6a684624ddb2b6
resolved: default to the compile-time fallback hostname

This changes resolved to use the compile-time fallback hostname the
configured one is not set. Note that if the local hostname is set to
"localhost" then we'll instead default to "linux" here, as for
mDNS/LLMNR exposing "localhost" is actively dangerous.
src/resolve/resolved-manager.c