From 9512e326640de3413891edd0e96a7e381c0ff8a7 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Thu, 16 Feb 2006 14:46:03 +0000 Subject: [PATCH] The libwrap built with NO_INET6=yes cannot parse an IPv6 address. So, mention it in comment. Submitted by: Dmitry Morozovsky MFC after: 2 days --- etc/hosts.allow | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/hosts.allow b/etc/hosts.allow index 47d57d11f2ac..5af0f0ec3b5f 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