From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: network@lists.ipfire.org Subject: [network] [PATCH 1/2] 6to4-tunnel: LOCAL_ADDRESS6 needs to be a valid IPv6 network Date: Fri, 02 Jun 2017 08:30:34 +0200 Message-ID: <1496385035-3913-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0757387599429200609==" List-Id: --===============0757387599429200609== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Fixes: #1359 Signed-off-by: Jonatan Schlag --- 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 --===============0757387599429200609==--