X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FAPIServer%2FAnyEvent.pm;h=b60b825fe644ab7b8ddf0dc969c2e519c1072c8d;hb=a8dd7b668eed7f983511be0247fd31aa949d98b7;hp=cebd9ba60888e7dc72bce1b7de3b1fb7dda96cc2;hpb=38535a67dfeaddd2b6e30f9eb7c03a2f1dd0eb08;p=pve-http-server.git diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm index cebd9ba..b60b825 100644 --- a/src/PVE/APIServer/AnyEvent.pm +++ b/src/PVE/APIServer/AnyEvent.pm @@ -1761,7 +1761,7 @@ sub check_host_access { foreach my $t (@{$self->{allow_from}}) { if ($t->overlaps($cip)) { $match_allow = 1; - $self->dprint("client IP allowed: ". $t->prefix()); + $self->dprint("client IP allowed: ". $t->print()); last; } } @@ -1770,7 +1770,7 @@ sub check_host_access { if ($self->{deny_from}) { foreach my $t (@{$self->{deny_from}}) { if ($t->overlaps($cip)) { - $self->dprint("client IP denied: ". $t->prefix()); + $self->dprint("client IP denied: ". $t->print()); $match_deny = 1; last; }