unbound: bugfix add_local_fqdn with empty ULA

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
This commit is contained in:
Eric Luehrsen 2017-02-25 13:49:45 -05:00
parent b23d25fd2f
commit 412fd1bbf4
1 changed files with 6 additions and 0 deletions

View File

@ -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"