From f62a049ca101c465525eeb78bd3d46ff2c3f5ef0 Mon Sep 17 00:00:00 2001 From: Eric Luehrsen Date: Sat, 25 Feb 2017 13:49:45 -0500 Subject: [PATCH] unbound: bugfix add_local_fqdn with empty ULA Signed-off-by: Eric Luehrsen --- net/unbound/files/unbound.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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"