tests: net: arp: Use documentation IP address space

Use the 192.0.2/24 address space reserved for documentation.
No functional changes by this commit.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2025-01-14 11:48:34 +02:00 committed by Benjamin Cabé
parent 2f10d7d816
commit 71911eb041

View file

@ -339,12 +339,12 @@ ZTEST(arp_fn_tests, test_arp)
struct net_ipv4_hdr *ipv4;
int len;
struct in_addr dst = { { { 192, 168, 0, 2 } } };
struct in_addr dst = { { { 192, 0, 2, 2 } } };
struct in_addr dst_far = { { { 10, 11, 12, 13 } } };
struct in_addr dst_far2 = { { { 172, 16, 14, 186 } } };
struct in_addr src = { { { 192, 168, 0, 1 } } };
struct in_addr src = { { { 192, 0, 2, 1 } } };
struct in_addr netmask = { { { 255, 255, 255, 0 } } };
struct in_addr gw = { { { 192, 168, 0, 42 } } };
struct in_addr gw = { { { 192, 0, 2, 42 } } };
net_arp_init();