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

Commit

Permalink
Merge pull request #49 from ndptech/master
Browse files Browse the repository at this point in the history
Set header flags correctly if body is not encrypted
  • Loading branch information
crisidev committed Jul 17, 2023
2 parents 2c11642 + e755d3f commit b12a6ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tacacs_plus/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def send(self, body, req_type, seq_no=1):
req_type,
self.session_id,
len(body.packed),
seq_no=seq_no
seq_no=seq_no,
flags=(0 if self.secret else 1)
)
packet = TACACSPacket(header, body.packed, self.secret)

Expand Down

0 comments on commit b12a6ab

Please sign in to comment.