mirror of https://github.com/jumpserver/jumpserver
modify a bug with 10.0.0.1 10.0.0.11 10.0.0.12 match problem
parent
caa318b808
commit
e09cb10439
|
@ -194,7 +194,7 @@ def verify_connect(username, part_ip):
|
|||
return False
|
||||
|
||||
for ip_info in hosts:
|
||||
if part_ip in ip_info[1:]:
|
||||
if part_ip in ip_info[1:] and part_ip:
|
||||
ip_matched = [ip_info[1]]
|
||||
break
|
||||
for info in ip_info[1:]:
|
||||
|
|
Loading…
Reference in New Issue