summaryrefslogtreecommitdiffstats
path: root/etc/hosts.allow
diff options
context:
space:
mode:
Diffstat (limited to 'etc/hosts.allow')
-rw-r--r--etc/hosts.allow4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/hosts.allow b/etc/hosts.allow
index 47d57d1..5af0f0e 100644
--- a/etc/hosts.allow
+++ b/etc/hosts.allow
@@ -36,7 +36,9 @@ ALL : PARANOID : RFC931 20 : deny
# Allow anything from localhost. Note that an IP address (not a host
# name) *MUST* be specified for rpcbind(8).
-ALL : localhost 127.0.0.1 [::1] : allow
+ALL : localhost 127.0.0.1 : allow
+# Comment out next line if you build libwrap with NO_INET6=yes.
+ALL : [::1] : allow
ALL : my.machine.example.com 192.0.2.35 : allow
# To use IPv6 addresses you must enclose them in []'s
OpenPOWER on IntegriCloud