1
0
Fork 0

Name collision removed

master
Simon Moser vor 3 Jahren
Ursprung 26420e2c89
Commit ee80094c0d

@ -6,7 +6,7 @@ from re import search
try: try:
ip = argv[1] ip = argv[1]
except Exception as e: except Exception as e:
print("Usage: ipcalc.py <IP ADDRESS>") print("Usage: ipctrans.py <IP ADDRESS>")
exit(0) exit(0)
if not search("^(\d{1,3}\.){3}\d{1,3}$", ip): if not search("^(\d{1,3}\.){3}\d{1,3}$", ip):
print(f"Invalid address {ip}") print(f"Invalid address {ip}")
Laden…
Abbrechen
Speichern