bneradt commented on PR #14072: URL: https://github.com/apache/trafficserver/pull/14072#issuecomment-6863868807
> Please also update lib/swoc/unit_tests/test_ip.cc. Some of its checks assume little-endian, so with this fix test_libswoc will build on big-endian but fail three checks: > > L158 CHECK_FALSE(is_link_local_network_order(ll4.host_order())): on BE the host-order value is the network-order value, so this returns true. L161 CHECK_FALSE(is_private_network_order(0xC0A8BADC)): 192.168.186.220 on BE, so true. L164 CHECK(is_private_network_order(0xDCBA8C0)): 13.203.168.192 on BE, so false. Don't worry about other big-endian failures, if there are any. We can address those in a separate PR if we wish. But it makes sense to fix these here while we're at it since it directly relates to your patch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
