Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

rpc_address::ipv4_from_host() returns 0 if resolve host failed #91

Open
qinzuoyan opened this issue Jun 8, 2018 · 0 comments
Open

rpc_address::ipv4_from_host() returns 0 if resolve host failed #91

qinzuoyan opened this issue Jun 8, 2018 · 0 comments
Labels
type/bug This issue reports a bug.

Comments

@qinzuoyan
Copy link
Member

qinzuoyan commented Jun 8, 2018

and also, rpc_address::ipv4_from_network_interface() returns 0 if no proper IP address found.

so that, rpc_address::assign_ipv4() and rpc_address::assign_ipv4_local_address() may assign unexpected ip(0.0.0.0), which may cause tricky problems.

need fix it.

@qinzuoyan qinzuoyan added the type/bug This issue reports a bug. label Jun 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

1 participant