summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-02-04 08:05:24 -0600
committerTom Rini <[email protected]>2026-02-04 08:05:24 -0600
commiteb1562cc3e4c5130c76db1c1ea57156322362a7c (patch)
treeba5d95a9e4401433f460db33c3df0c265e2e45db /cmd
parent3c72973b7a7fbc3f57b20bf2e2e630ba9d31a686 (diff)
parentf0a1eb8a3d13112f69c69b4c4752147cebe66900 (diff)
Merge tag 'net-20260204' of https://source.denx.de/u-boot/custodians/u-boot-net
Pull request net-20260204. net: - phy: aquantia: add support for Marvell CUX3410 10Gb PHY - drivers: phy: fix code documentation typo udevice_ops net-lwip: - Command fixes and improvements (dhcp, dns, nfs) - dhcp, tftp: do not write past end of buffer - Add TFTPSERVERIP Kconfig option misc: - Update Jerome's email address
Diffstat (limited to 'cmd')
-rw-r--r--cmd/lwip/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/lwip/ping.c b/cmd/lwip/ping.c
index 6d090fc530d..fc4cf7bde5f 100644
--- a/cmd/lwip/ping.c
+++ b/cmd/lwip/ping.c
@@ -35,7 +35,7 @@ static u8_t ping_recv(void *arg, struct raw_pcb *pcb, struct pbuf *p,
struct ping_ctx *ctx = arg;
struct icmp_echo_hdr *iecho = ctx->iecho;
- if (addr->addr != ctx->target.addr)
+ if (!ip_addr_eq(addr, &ctx->target))
return 0;
if ((p->tot_len >= (IP_HLEN + sizeof(struct icmp_echo_hdr))) &&