]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
bug 202534 - Login with unrestricted IP address fails - tries to access missing get_n...
authorbugreport%peshkin.net <>
Sat, 19 Apr 2003 06:53:51 +0000 (06:53 +0000)
committerbugreport%peshkin.net <>
Sat, 19 Apr 2003 06:53:51 +0000 (06:53 +0000)
r=bbaetz
a=myk

Bugzilla/Auth/CGI.pm

index b7c2e6c4212b756730c3ba57c6953cd8dae65b44..034013bda0279a71c07ba1871dcae5fb611348fd 100644 (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