There was an error while loading. Please reload this page.
2 parents 50f9df4 + 7b52536 commit 2a7142dCopy full SHA for 2a7142d
1 file changed
bin/parse-ssh-host
@@ -13,7 +13,8 @@ def is_ipv6(ip):
13
try:
14
return isinstance(ipaddress.ip_address(ip), ipaddress.IPv6Address)
15
except ValueError:
16
- print(f"Invalid IP address: {ip}", file=sys.stderr)
+ if os.getenv("TRACE") != "':
17
+ print(f"Invalid IP address: {ip}", file=sys.stderr)
18
return False
19
20
0 commit comments