Commit f9df8a5d authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

bug 202534 - Login with unrestricted IP address fails - tries to access missing get_netaddr

r=bbaetz a=myk
parent bbb41a57
......@@ -58,7 +58,7 @@ sub login {
my $ipaddr = $cgi->remote_addr;
unless ($cgi->param('Bugzilla_restrictlogin') ||
Param('loginnetmask') == 32) {
$ipaddr = get_netaddr($ipaddr);
$ipaddr = Bugzilla::Auth::get_netaddr($ipaddr);
}
# The IP address is valid, at least for comparing with itself in a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment