commit 34d263c807bb677aab7c0a7d39c87d45f3fdef87 parent 93d89b5f7ee686e7ed3d7558260f461d4ef20a17 Author: parazyd <parazyd@dyne.org> Date: Thu, 12 Mar 2020 10:13:11 +0100 Simplify conf_print_hosts(). Diffstat:
M | zlibs/sysconf | | | 10 | +++------- |
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/zlibs/sysconf b/zlibs/sysconf @@ -41,7 +41,7 @@ conf_print_hostname() { req=(os) ckreq || return 1 - print $os + print "$os" } conf_print_hosts() { @@ -50,12 +50,8 @@ conf_print_hosts() { ckreq || return 1 cat <<EOF -127.0.0.1 ${os} localhost -::1 ip6-localhost ip6-loopback -fe00::0 ip6-localnet -fe00::0 ip6-mcastprefix -fe02::1 ip6-allnodes -fe02::1 ip6-allrouters +127.0.0.1 localhost ${os} +::1 localhost EOF }