Date: Mon, 8 Sep 2014 09:16:07 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271255 - head/usr.sbin/unbound/local-setup Message-ID: <201409080916.s889G7ma050438@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Mon Sep 8 09:16:07 2014 New Revision: 271255 URL: http://svnweb.freebsd.org/changeset/base/271255 Log: Fix support for IPv6 nameservers. PR: 188931 Submitted by: Takefu <takefu@airport.fm> MFC after: 3 days Modified: head/usr.sbin/unbound/local-setup/local-unbound-setup.sh Modified: head/usr.sbin/unbound/local-setup/local-unbound-setup.sh ============================================================================== --- head/usr.sbin/unbound/local-setup/local-unbound-setup.sh Mon Sep 8 09:04:22 2014 (r271254) +++ head/usr.sbin/unbound/local-setup/local-unbound-setup.sh Mon Sep 8 09:16:07 2014 (r271255) @@ -178,7 +178,7 @@ gen_forward_conf() { echo "forward-zone:" echo " name: ." for forwarder ; do - if expr "${forwarder}" : "^[0-9:.]\{1,\}$" >/dev/null ; then + if expr "${forwarder}" : "^[0-9A-Fa-f:.]\{1,\}$" >/dev/null ; then echo " forward-addr: ${forwarder}" else echo " forward-host: ${forwarder}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409080916.s889G7ma050438>