Domain names are case-insensitive
This commit is contained in:
parent
7ddffa7fa5
commit
42f67a7e64
@ -99,7 +99,7 @@ try:
|
|||||||
usage()
|
usage()
|
||||||
sys.exit(STATE_OK)
|
sys.exit(STATE_OK)
|
||||||
elif option == "--hostname" or option == "-H":
|
elif option == "--hostname" or option == "-H":
|
||||||
domain = value
|
domain = value.lower()
|
||||||
elif option == "--timeout" or option == "-t":
|
elif option == "--timeout" or option == "-t":
|
||||||
timeout = int(value)
|
timeout = int(value)
|
||||||
elif option == "--unixtime" or option == "-u":
|
elif option == "--unixtime" or option == "-u":
|
||||||
|
Loading…
Reference in New Issue
Block a user