We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d960a33 commit 839c4e7Copy full SHA for 839c4e7
src/init.cpp
@@ -614,7 +614,8 @@ bool AppInit2(int argc, char* argv[])
614
fBound |= Bind(CService(strBind, GetDefaultPort(), false));
615
}
616
} else {
617
- struct in_addr inaddr_any = {s_addr: INADDR_ANY};
+ struct in_addr inaddr_any;
618
+ inaddr_any.s_addr = INADDR_ANY;
619
fBound |= Bind(CService(inaddr_any, GetDefaultPort()));
620
#ifdef USE_IPV6
621
fBound |= Bind(CService(in6addr_any, GetDefaultPort()));
0 commit comments