From bcc963dfdd49e1b3f78c92e8c506785b659ffe48 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Fri, 18 Apr 2003 23:53:51 +0000 Subject: [PATCH] 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 --- mozilla/webtools/bugzilla/Bugzilla/Auth/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Auth/CGI.pm b/mozilla/webtools/bugzilla/Bugzilla/Auth/CGI.pm index b7c2e6c4212..034013bda02 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Auth/CGI.pm +++ b/mozilla/webtools/bugzilla/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