aboutsummaryrefslogtreecommitdiff
path: root/net/unbound/files
diff options
context:
space:
mode:
authorEric Luehrsen <ericluehrsen@hotmail.com>2017-02-25 13:49:45 -0500
committerEric Luehrsen <ericluehrsen@hotmail.com>2017-02-25 23:09:22 -0500
commitf62a049ca101c465525eeb78bd3d46ff2c3f5ef0 (patch)
tree51b32d31cd64fe199af351a9ab986738bfe61e94 /net/unbound/files
parent549d470b991bfcf26d14921790353b64acb9169a (diff)
unbound: bugfix add_local_fqdn with empty ULA
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'net/unbound/files')
-rw-r--r--net/unbound/files/unbound.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/unbound/files/unbound.sh b/net/unbound/files/unbound.sh
index 44eeb6fcc..24964d0b0 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"