Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 committed Sep 25, 2023
1 parent 44d8625 commit 03d02c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace net

// For compatibility, the default constructor is still 0.0.0.0 (IPv4)
IPAddr() {
map_v4(INADDR_ANY);
map_v4(htonl(INADDR_ANY));
}

// V6 constructor (Internet Address)
Expand Down

0 comments on commit 03d02c1

Please sign in to comment.