Skip to content

Commit

Permalink
chore: the smallest range is /96, not /64 (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain authored Jul 28, 2023
1 parent 79ada01 commit 0e35302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dibridge/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def main(
if irc_puppet_ip_range:
irc_puppet_ip_range = ipaddress.ip_network(irc_puppet_ip_range)
if irc_puppet_ip_range.num_addresses < 2**32:
raise Exception("--irc-puppet-ip-range needs to be an IPv6 CIDR range of at least /64 or more.")
raise Exception("--irc-puppet-ip-range needs to be an IPv6 CIDR range of at least /96 or more.")

if irc_ignore_list:
irc_ignore_list = [nickname.strip().lower() for nickname in irc_ignore_list.split(",") if nickname.strip()]
Expand Down

0 comments on commit 0e35302

Please sign in to comment.