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 <tak...@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}" _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"