Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: ('illegal netmask value', '0x0') #524

Open
qzpzp opened this issue Aug 14, 2023 · 0 comments
Open

ValueError: ('illegal netmask value', '0x0') #524

qzpzp opened this issue Aug 14, 2023 · 0 comments

Comments

@qzpzp
Copy link

qzpzp commented Aug 14, 2023

系统 centos7.8 虚拟机
报错代码

Traceback (most recent call last):
File "kickthemout.py", line 756, in
defaultInterface = getDefaultInterface()
File "kickthemout.py", line 155, in getDefaultInterface
net = to_CIDR_notation(network, netmask)
File "kickthemout.py", line 147, in to_CIDR_notation
netmask = long2net(bytes_netmask)
File "kickthemout.py", line 143, in long2net
raise ValueError("illegal netmask value", hex(arg))
ValueError: ('illegal netmask value', '0x0')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant