commit f62a049ca101c465525eeb78bd3d46ff2c3f5ef0
parent 549d470b991bfcf26d14921790353b64acb9169a
Author: Eric Luehrsen <ericluehrsen@hotmail.com>
Date: Sat, 25 Feb 2017 13:49:45 -0500
unbound: bugfix add_local_fqdn with empty ULA
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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"