Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit cdb077c

Browse files
authored
Merge pull request #40 from Michael9127/bugfix/fix-22-compare-major-versions
Fix #22: only compare major version
2 parents dc6f381 + d6cbf59 commit cdb077c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tacacs_plus/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def send(self, body, req_type, seq_no=1):
128128
# If the reply header doesn't match, it's likely a non-TACACS+ TCP
129129
# service answering with data we don't antipicate. Bail out.
130130
if any([
131-
resp_header.version != header.version,
131+
resp_header.version_max != header.version_max,
132132
resp_header.type != header.type,
133133
resp_header.session_id != header.session_id
134134
]):

0 commit comments

Comments
 (0)