From 0627c55c513f0c3c21d37d314c551b7259ef51e6 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 4 Oct 2023 21:36:00 +0200 Subject: [PATCH] ping: fix assert in ping_init() --- contrib/apps/ping/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/apps/ping/ping.c b/contrib/apps/ping/ping.c index 1d2e8bb91..a4995492a 100644 --- a/contrib/apps/ping/ping.c +++ b/contrib/apps/ping/ping.c @@ -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