Signed-off-by: Michael Tremer --- html/cgi-bin/connections.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/connections.cgi b/html/cgi-bin/connections.cgi index 7286f9b46..80cb4bb69 100644 --- a/html/cgi-bin/connections.cgi +++ b/html/cgi-bin/connections.cgi @@ -476,7 +476,7 @@ sub ipcolour($) { foreach my $network (@networks) { if (defined $network) { - if (&Network::check_ip_address_and_netmask($network)) { + if (&Network::check_subnet($network)) { if (&Network::ip_address_in_network($address, $network)) { return $networks{$network}; } -- 2.39.5