From ff5092e868d0ad4380c0d2ac47b3fc889faf26a6 Mon Sep 17 00:00:00 2001 From: Andrew Weiss Date: Tue, 15 May 2018 19:39:07 -0700 Subject: [PATCH] stop using CIDR for IPV4 --- .../src/main/java/com/rollbar/web/provider/RequestProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java b/rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java index 14f56a7f..9d1be193 100755 --- a/rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java +++ b/rollbar-web/src/main/java/com/rollbar/web/provider/RequestProvider.java @@ -91,7 +91,7 @@ private String userIp(HttpServletRequest request) { ip.append(parts[1]); ip.append("."); ip.append(parts[2]); - ip.append(".0/24"); + ip.append(".0"); return ip.toString(); } else if (rawIp.contains(":")) { // IPV6