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

fix local bind address #27

Closed
wangrunji0408 opened this issue Aug 2, 2022 · 0 comments
Closed

fix local bind address #27

wangrunji0408 opened this issue Aug 2, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@wangrunji0408
Copy link
Member

Currently, if a socket binds 0.0.0.0, the network simulator will replace it with the node IP (e.g. 192.168.1.1), or panic if the node IP is uninitialized.
The correct behavior is to keep the local address as 0.0.0.0 and store the remote address 192.168.1.1 for other nodes.

@wangrunji0408 wangrunji0408 added the bug Something isn't working label Aug 2, 2022
wangrunji0408 added a commit that referenced this issue Aug 5, 2022
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant