Skip to content

Commit 71911eb

Browse files
jukkarkartben
authored andcommitted
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 <[email protected]>
1 parent 2f10d7d commit 71911eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/net/arp/src/main.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -339,12 +339,12 @@ ZTEST(arp_fn_tests, test_arp)
339339
struct net_ipv4_hdr *ipv4;
340340
int len;
341341

342-
struct in_addr dst = { { { 192, 168, 0, 2 } } };
342+
struct in_addr dst = { { { 192, 0, 2, 2 } } };
343343
struct in_addr dst_far = { { { 10, 11, 12, 13 } } };
344344
struct in_addr dst_far2 = { { { 172, 16, 14, 186 } } };
345-
struct in_addr src = { { { 192, 168, 0, 1 } } };
345+
struct in_addr src = { { { 192, 0, 2, 1 } } };
346346
struct in_addr netmask = { { { 255, 255, 255, 0 } } };
347-
struct in_addr gw = { { { 192, 168, 0, 42 } } };
347+
struct in_addr gw = { { { 192, 0, 2, 42 } } };
348348

349349
net_arp_init();
350350

0 commit comments

Comments
 (0)