Skip to content

Commit

Permalink
Fix a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiedKazemi committed Sep 16, 2024
1 parent 28f047e commit 75932f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diamond_miner/generators/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def probe_generator_from_database(
>>> (str(ip_address(probes[0][0])), *probes[0][1:])
('::ffff:808:100', 24000, 33434, 1, 'icmp')
"""
global max_probes
if max_probes == 0:
max_probes = 4095 # XXX make this a parameter
logging.info("capping the number of probes to send at %d", max_probes)
Expand Down

0 comments on commit 75932f9

Please sign in to comment.