From 1cef6fe10e6b53a8bbb57f5122e8cbcba7b2beb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borys=20Pop=C5=82awski?= Date: Sun, 15 May 2022 15:36:43 +0200 Subject: [PATCH] fixup! [LibOS,Pal] Completely rewrite networking code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Borys Popławski --- Pal/regression/send_handle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Pal/regression/send_handle.c b/Pal/regression/send_handle.c index 3adb6cffb2..db7acc6dcd 100644 --- a/Pal/regression/send_handle.c +++ b/Pal/regression/send_handle.c @@ -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), }, }; @@ -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), }, };