Domain names are case-insensitive

This commit is contained in:
Stephane Bortzmeyer 2022-10-24 18:11:32 +02:00
parent 7ddffa7fa5
commit 42f67a7e64
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ try:
usage()
sys.exit(STATE_OK)
elif option == "--hostname" or option == "-H":
domain = value
domain = value.lower()
elif option == "--timeout" or option == "-t":
timeout = int(value)
elif option == "--unixtime" or option == "-u":