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

r=bbaetz
a=myk


git-svn-id: svn://10.0.0.236/trunk@141419 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugreport%peshkin.net
2003-04-18 23:53:51 +00:00
parent 501115de09
commit bcc963dfdd

View File

@@ -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