Skip to content

Commit

Permalink
ping: fix assert in ping_init()
Browse files Browse the repository at this point in the history
  • Loading branch information
goldsimon committed Oct 4, 2023
1 parent 732d341 commit 0627c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/apps/ping/ping.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ ping_init(const ip_addr_t* ping_addr)
{
ping_stop();

LWIP_ASSERT("ping_target != NULL", ping_target != NULL);
LWIP_ASSERT("ping_addr != NULL", ping_addr != NULL);
ping_target = ping_addr;

#if PING_USE_SOCKETS
Expand Down

0 comments on commit 0627c55

Please sign in to comment.