Skip to content

Commit

Permalink
fixup! [LibOS,Pal] Completely rewrite networking code
Browse files Browse the repository at this point in the history
Signed-off-by: Borys Popławski <borysp@invisiblethingslab.com>
  • Loading branch information
boryspoplawski committed May 15, 2022
1 parent 73267ad commit 1cef6fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Pal/regression/send_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static void do_parent(void) {
struct pal_socket_addr addr = {
.domain = IPV4,
.ipv4 = {
.addr = 0x0100007f, // localhost in big (network) endian
.addr = __htonl(0x7f000001), // localhost
.port = __htons(PORT),
},
};
Expand All @@ -125,7 +125,8 @@ static void do_parent(void) {
addr = (struct pal_socket_addr) {
.domain = IPV6,
.ipv6 = {
.addr = { [15] = 1 }, // localhost
// FIXME: our jenkins is broken and doesn't have ipv6 on lo?? try binding to all...
// .addr = { [15] = 1 }, // localhost
.port = __htons(PORT),
},
};
Expand Down

0 comments on commit 1cef6fe

Please sign in to comment.