From patchwork Tue Oct 31 22:24:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Lorenz X-Patchwork-Id: 1490 Return-Path: Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 744D560DDF for ; Tue, 31 Oct 2017 12:25:00 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 1E7AA2858; Tue, 31 Oct 2017 12:24:58 +0100 (CET) Received: from localhost.localdomain (mail.ml-systec.de [87.140.105.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 097BE155F for ; Tue, 31 Oct 2017 12:24:56 +0100 (CET) From: Marcel Lorenz To: development@lists.ipfire.org Subject: [PATCH] routing.cgi: call correct function to check networks Date: Tue, 31 Oct 2017 12:24:41 +0100 Message-Id: <20171031112441.26410-1-marcel.lorenz@ipfire.org> X-Mailer: git-send-email 2.14.2 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Marcel Lorenz --- html/cgi-bin/routing.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/routing.cgi b/html/cgi-bin/routing.cgi index 21f3dd080..b13975c18 100644 --- a/html/cgi-bin/routing.cgi +++ b/html/cgi-bin/routing.cgi @@ -154,7 +154,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'add'}) { last; } #Is the network part of an internal network? - $errormessage .= &General::check_net_internal($settings{'IP'}); + $errormessage .= &General::check_net_internal_range($settings{'IP'}); last; }