mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 18:41:40 +01:00
Fix typo, which slipped in while adding type system.
This commit is contained in:
parent
385c230376
commit
182467e0e8
@ -1648,7 +1648,7 @@ def output_security_sub(sub, software, padlen):
|
|||||||
vfrom, vtill = line[0:2] # type: str, str
|
vfrom, vtill = line[0:2] # type: str, str
|
||||||
if not software.between_versions(vfrom, vtill):
|
if not software.between_versions(vfrom, vtill):
|
||||||
continue
|
continue
|
||||||
target, name = line[2:3] # type: int, str
|
target, name = line[2:4] # type: int, str
|
||||||
is_server, is_client = target & 1 == 1, target & 2 == 2
|
is_server, is_client = target & 1 == 1, target & 2 == 2
|
||||||
is_local = target & 4 == 4
|
is_local = target & 4 == 4
|
||||||
if not is_server:
|
if not is_server:
|
||||||
|
Loading…
Reference in New Issue
Block a user