Skip to content

Commit

Permalink
stop using CIDR for IPV4
Browse files Browse the repository at this point in the history
  • Loading branch information
rokob committed May 16, 2018
1 parent 065da17 commit ff5092e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff5092e

Please sign in to comment.