Open Rehtael opened 5 years ago
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at geoip2_city.pm line 404, <LOG> line 13483.
+Line 396: if ((! $param)||($param eq "-")) { return ''; }
if ((! $param)||($param eq "-")) { return ''; }
@neilgierman
Actually, I think this is better:
if ($param !~ m/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/) { return ''; }
Looking back through GeoIP2 issues. Should this issue be closed now?
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at geoip2_city.pm line 404, <LOG> line 13483.
+Line 396:
if ((! $param)||($param eq "-")) { return ''; }
@neilgierman