Skip to content

Commit 8ae3880

Browse files
sylvioalveskartben
authored andcommitted
tests: board: espressif: update net struct usage
Fix net struct naming convention. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 5f5db5b commit 8ae3880

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/boards/espressif/ethernet/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ZTEST(ethernet, test_icmp_check)
9191
{
9292
struct net_icmp_ping_params params;
9393
struct net_icmp_ctx ctx;
94-
struct in_addr gw_addr_4;
94+
struct net_in_addr gw_addr_4;
9595
struct net_sockaddr_in dst4 = {0};
9696
int ret;
9797

tests/boards/espressif/wifi/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ ZTEST(wifi, test_2_icmp)
274274
{
275275
struct net_icmp_ping_params params;
276276
struct net_icmp_ctx icmp_ctx;
277-
struct in_addr gw_addr_4;
277+
struct net_in_addr gw_addr_4;
278278
struct net_sockaddr_in dst4 = {0};
279279
int retry = CONFIG_WIFI_PING_ATTEMPTS;
280280
int ret;

0 commit comments

Comments
 (0)