summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2003-04-19 08:53:51 +0200
committerbugreport%peshkin.net <>2003-04-19 08:53:51 +0200
commitf9df8a5d00ad99a5ff73e4b7bf9d59a29ccbd615 (patch)
treed9d3920dcc991124fa64a36a530423915aede65b
parentbbb41a57d19d5e395e92c42d9852357f56e76635 (diff)
downloadbugzilla-f9df8a5d00ad99a5ff73e4b7bf9d59a29ccbd615.tar.gz
bugzilla-f9df8a5d00ad99a5ff73e4b7bf9d59a29ccbd615.tar.xz
bug 202534 - Login with unrestricted IP address fails - tries to access missing get_netaddr
r=bbaetz a=myk
-rw-r--r--Bugzilla/Auth/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/CGI.pm b/Bugzilla/Auth/CGI.pm
index b7c2e6c42..034013bda 100644
--- a/Bugzilla/Auth/CGI.pm
+++ b/Bugzilla/Auth/CGI.pm
@@ -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