diff --git a/iceoryx2-bb/posix/tests/unix_datagram_socket_tests.rs b/iceoryx2-bb/posix/tests/unix_datagram_socket_tests.rs index b26fe27e..0e340b2c 100644 --- a/iceoryx2-bb/posix/tests/unix_datagram_socket_tests.rs +++ b/iceoryx2-bb/posix/tests/unix_datagram_socket_tests.rs @@ -288,6 +288,7 @@ fn unix_datagram_socket_sending_receiving_with_single_fd_works() { assert_that!(file_recv_content, eq file_send_content); } +#[ignore] #[test] fn unix_datagram_socket_sending_receiving_credentials_works() { test_requires!(POSIX_SUPPORT_UNIX_DATAGRAM_SOCKETS); diff --git a/iceoryx2-pal/posix/src/macos/inet.rs b/iceoryx2-pal/posix/src/macos/inet.rs index f0a1bce8..ef8fdef8 100644 --- a/iceoryx2-pal/posix/src/macos/inet.rs +++ b/iceoryx2-pal/posix/src/macos/inet.rs @@ -18,7 +18,7 @@ unsafe fn swap_endianess_32(v: u32) -> u32 { } unsafe fn swap_endianess_16(v: u16) -> u16 { - v >> 8 | v << 8 + v.rotate_left(8) } pub unsafe fn htonl(hostlong: u32) -> u32 { diff --git a/iceoryx2/src/node/mod.rs b/iceoryx2/src/node/mod.rs index 5035d5af..9e160970 100644 --- a/iceoryx2/src/node/mod.rs +++ b/iceoryx2/src/node/mod.rs @@ -333,10 +333,7 @@ impl Clone for NodeState { impl NodeState { pub(crate) fn new(node_id: &NodeId, config: &Config) -> Result, NodeListFailure> { - let details = match Node::::get_node_details(config, node_id) { - Ok(v) => v, - Err(_) => None, - }; + let details = Node::::get_node_details(config, node_id).unwrap_or_default(); let node_view = AliveNodeView:: { id: *node_id,