Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864326
D10444.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
462 B
Subscribers
None
D10444.diff
View Options
diff --git a/src/net.cpp b/src/net.cpp
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2631,7 +2631,7 @@
}
if (binds.empty() && whiteBinds.empty()) {
struct in_addr inaddr_any;
- inaddr_any.s_addr = INADDR_ANY;
+ inaddr_any.s_addr = htonl(INADDR_ANY);
struct in6_addr inaddr6_any = IN6ADDR_ANY_INIT;
fBound |= Bind(CService(inaddr6_any, GetListenPort()), BF_NONE,
NetPermissionFlags::PF_NONE);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 18:48 (2 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5865724
Default Alt Text
D10444.diff (462 B)
Attached To
D10444: net: Use network byte order for in_addr.s_addr
Event Timeline
Log In to Comment