We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The IPv4 broadcast addresses are not set correctly (always 0.0.0.0), regardless of node type and link type.
To Reproduce Steps to reproduce the behavior:
ifconfig eth0
broadcast 0.0.0.0
Expected behavior 5. ifconfig eth0 should show inet 10.0.0.20 netmask 255.255.255.0 broadcast 10.0.0.255
inet 10.0.0.20 netmask 255.255.255.0 broadcast 10.0.0.255
Desktop (please complete the following information):
Additional context Core is running within docker.
The text was updated successfully, but these errors were encountered:
After some investigation and debugging the issue is likely due to the following line:
core/daemon/core/nodes/base.py
Line 895 in 5ab7137
This check is only valid, if ip is a string. But in this case, it is an netaddr.IPNetwork, thus always false...
ip
netaddr.IPNetwork
if netaddr.valid_ipv4(str(ip.ip)):
fixes the issue...
Sorry, something went wrong.
Thanks for catching this, fixed on develop for next update release.
bharnden
No branches or pull requests
Describe the bug
The IPv4 broadcast addresses are not set correctly (always 0.0.0.0), regardless of node type and link type.
To Reproduce
Steps to reproduce the behavior:
ifconfig eth0
is showingbroadcast 0.0.0.0
Expected behavior
5.
ifconfig eth0
should showinet 10.0.0.20 netmask 255.255.255.0 broadcast 10.0.0.255
Desktop (please complete the following information):
Additional context
Core is running within docker.
The text was updated successfully, but these errors were encountered: