From 815dd8a25c3c395c42e596454ac6190e31322d5b Mon Sep 17 00:00:00 2001 From: prubel Date: Tue, 17 Oct 2023 22:24:34 +0000 Subject: [PATCH] test: 192.0.2.0/24 is the actual -TEST-NET-1 (#4133) Section 3 of rfc 5737 lists 192.0.2.0/24 as TEST-NET-1, fix confusion about /8 and /24. --- test/test-udp-send-hang-loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-udp-send-hang-loop.c b/test/test-udp-send-hang-loop.c index 706f6621..763bb28b 100644 --- a/test/test-udp-send-hang-loop.c +++ b/test/test-udp-send-hang-loop.c @@ -79,7 +79,7 @@ static void send_cb(uv_udp_send_t* req, int status) { TEST_IMPL(udp_send_hang_loop) { ASSERT_OK(uv_idle_init(uv_default_loop(), &idle_handle)); - /* 192.0.2.0/8 is "TEST-NET" and reserved for documentation. + /* 192.0.2.0/24 is "TEST-NET" and reserved for documentation. * Good for us, though. Since we want to have something unreachable. */ ASSERT_OK(uv_ip4_addr("192.0.2.3", TEST_PORT, &addr));