From: Eric Luehrsen Date: Sat, 25 Feb 2017 18:49:45 +0000 (-0500) Subject: unbound: bugfix add_local_fqdn with empty ULA X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=412fd1bbf4c0f0089e6e837f002c5164078dded4;p=feed%2Fpackages.git unbound: bugfix add_local_fqdn with empty ULA Signed-off-by: Eric Luehrsen --- diff --git a/net/unbound/files/unbound.sh b/net/unbound/files/unbound.sh index 44eeb6fccd..24964d0b0a 100644 --- a/net/unbound/files/unbound.sh +++ b/net/unbound/files/unbound.sh @@ -107,6 +107,12 @@ create_interface_dns() { if_fqdn="$ifdashname.$host_fqdn" + if [ -z "${ulaprefix%%:/*}" ] ; then + # Nonsense so this option isn't globbed below + ulaprefix="fdno:such:addr::/48" + fi + + if [ "$ignore" -gt 0 ] ; then mode="$UNBOUND_D_WAN_FQDN"