summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/local-setup
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/local-setup')
-rwxr-xr-xusr.sbin/unbound/local-setup/local-unbound-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/unbound/local-setup/local-unbound-setup.sh b/usr.sbin/unbound/local-setup/local-unbound-setup.sh
index 837cf9a..a16e6d0 100755
--- a/usr.sbin/unbound/local-setup/local-unbound-setup.sh
+++ b/usr.sbin/unbound/local-setup/local-unbound-setup.sh
@@ -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}"
OpenPOWER on IntegriCloud