unbound: bugfix add_local_fqdn with empty ULA
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
This commit is contained in:
parent
549d470b99
commit
f62a049ca1
1 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,12 @@ create_interface_dns() {
|
||||||
if_fqdn="$ifdashname.$host_fqdn"
|
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
|
if [ "$ignore" -gt 0 ] ; then
|
||||||
mode="$UNBOUND_D_WAN_FQDN"
|
mode="$UNBOUND_D_WAN_FQDN"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue