routing.cgi: call correct function to check networks

Message ID 20171031112441.26410-1-marcel.lorenz@ipfire.org
State Superseded
Headers
Series routing.cgi: call correct function to check networks |

Commit Message

Marcel Lorenz Oct. 31, 2017, 10:24 p.m. UTC
  Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
---
 html/cgi-bin/routing.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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;
 	}