Fixes: #1359
Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
src/hooks/zones/6to4-tunnel | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/hooks/zones/6to4-tunnel b/src/hooks/zones/6to4-tunnel
index 2a200e0..f550741 100644
--- a/src/hooks/zones/6to4-tunnel
+++ b/src/hooks/zones/6to4-tunnel
@@ -48,6 +48,8 @@ hook_check_settings() {
assert isset SERVER_ADDRESS
assert isset LOCAL_ADDRESS
assert isset LOCAL_ADDRESS6
+ # LOCAL_ADDRESS6 needs to have a prefix
+ assert ipv6_net_is_valid LOCAL_ADDRESS6
if enabled AUTO_UPDATE_ENDPOINT; then
assert isset TUNNEL_ID
--
2.6.3