Skip to content

Commit

Permalink
Merged etingof#144 from etingof/snmpsim
Browse files Browse the repository at this point in the history
  • Loading branch information
Lostboi committed Dec 21, 2020
1 parent 66bf723 commit b71dc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmpsim/commands/responder_lite.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def get_bulk_handler(
R = max(len(req_var_binds) - N, 0)

if R:
M = min(M, args.max_var_binds / R)
M = min(M, int(args.max_var_binds / R))

if N:
rsp_var_binds = read_next_vars(req_var_binds[:N])
Expand Down

0 comments on commit b71dc16

Please sign in to comment.