Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kseen715 committed Aug 18, 2024
1 parent 4c40755 commit a9282b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ We include all known proxies of listed sites to raise chance of correct routing.
- microsoft - from [[x]](https://networksdb.io/ip-addresses-of/microsoft-corp)
- netflix - from [[x]](https://rockblack.su/vpn/dopolnitelno/diapazon-ip-adresov)
- nhentai.net - from [[x]](https://networksdb.io/domain-to-ips/nhentai.net)
- raw.githubusercontent.com - from [[x]](https://networksdb.io/). Sometimes images in repos can't be loaded without this IPs in hosts.
- raw.githubusercontent.com - from [[x]](https://networksdb.io/). Sometimes images in repos can't be loaded without these IPs in hosts.
- rutracker.org - from [[x]](https://networksdb.io/)
- x.com - from [[x]](https://rockblack.su/vpn/dopolnitelno/diapazon-ip-adresov)
- xhamster.com - from [[x]](https://networksdb.io/)
Expand Down
4 changes: 2 additions & 2 deletions src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def is_cidr_valid(cidr: str):
if bit != '0':
log_info(f'{str_ip}')
log_info(f'{_str_ip}')
log_info(f'{'1' * mask}' + '0' * (32 - mask))
log_info(f'{"1" * mask}' + '0' * (32 - mask))
return False
return True
elif ':' in cidr:
Expand All @@ -267,7 +267,7 @@ def is_cidr_valid(cidr: str):
if bit != '0':
log_info(f'{str_ip}')
log_info(f'{_str_ip}')
log_info(f'{'1' * mask}' + '0' * (128 - mask))
log_info(f'{"1" * mask}' + '0' * (128 - mask))
return False
return True

Expand Down

0 comments on commit a9282b7

Please sign in to comment.