Skip to content

Commit

Permalink
Revert "frontend: fix handling of SRR requests over IPv6"
Browse files Browse the repository at this point in the history
This reverts commit 146e3ef.
  • Loading branch information
kofemann authored and mksahakyan committed Dec 2, 2021
1 parent b4270dc commit 0c77844
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -115,7 +115,7 @@ public void setGroupMapping(String mapping) {
@Path("/")
public Response getSrr() throws InterruptedException, CacheException, NoRouteToCellException {

InetAddress remoteAddress = InetAddresses.forUriString(request.getRemoteAddr());
InetAddress remoteAddress = InetAddresses.forString(request.getRemoteAddr());
if (!remoteAddress.isLoopbackAddress()) {
throw new ForbiddenException();
}
Expand Down

0 comments on commit 0c77844

Please sign in to comment.