summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-02-16 14:46:03 +0000
committerume <ume@FreeBSD.org>2006-02-16 14:46:03 +0000
commit1372d441b5f58d5f1595729e8d1cdbbf98cf4cd7 (patch)
tree324e56181f530232140948767364c1d29abaab3f /etc
parentee6a29f33466b51768bf5381551929d9d01b7ff7 (diff)
downloadFreeBSD-src-1372d441b5f58d5f1595729e8d1cdbbf98cf4cd7.zip
FreeBSD-src-1372d441b5f58d5f1595729e8d1cdbbf98cf4cd7.tar.gz
The libwrap built with NO_INET6=yes cannot parse an IPv6 address.
So, mention it in comment. Submitted by: Dmitry Morozovsky <marck__at__rinet.ru> MFC after: 2 days
Diffstat (limited to 'etc')
-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