LOG IN SIGN UP
Documentation

std.ip2str()

Converts the IP address (v4 or v6) to a string.

Format

STRING
std.ip2str(IP ip)

Examples

1
2
3
if (std.ip2str(std.str2ip(req.http.Fastly-Client-IP, "192.0.2.2")) ~ my_acl) {
  ...
}