This commit is contained in:
parent
eab9300695
commit
3fbc0bfa0b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def getident(hostt:str, clientport:int, ssll:bool):
|
|||
print(responsee.split(",")[0])
|
||||
print(responsee.split(",")[1].split(":")[0])
|
||||
|
||||
if responsee.split(",")[0] != str({clientport}):
|
||||
if responsee.split(",")[0] != str(clientport):
|
||||
return {"success": False, "response": "The ident server sent an invalid client port."}
|
||||
elif responsee.split(",")[1].split(":")[0] != serverport:
|
||||
return {"success": False, "response": "The ident server doesn't know what the server port is."}
|
||||
|
|
Loading…
Add table
Reference in a new issue