This commit is contained in:
parent
84927c13ee
commit
8737f98d5a
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def getident(hostt:str, clientport:int, ssll:bool):
|
|||
return {"success": False, "response": "The connection was closed."}
|
||||
else:
|
||||
for i, v in enumerate(responsee.split(" ")):
|
||||
print(v)
|
||||
if i == 0 and v[:-1] != str({clientport}):
|
||||
return {"success": False, "response": "The ident server sent an invalid client port."}
|
||||
elif i == 1 and v != serverport:
|
||||
|
|
Loading…
Add table
Reference in a new issue