mirror of
https://xff.cz/git/u-boot/
synced 2025-09-26 21:11:18 +02:00
net: eth_legacy - fix build CMD_PCAP
Fix typo which would cause a build error.
Fixes: 3eaac6307d
("net: introduce packet capture support")
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
This commit is contained in:
committed by
Tom Rini
parent
beb61e13b8
commit
c1ab738145
@@ -365,7 +365,7 @@ int eth_send(void *packet, int length)
|
|||||||
ret = eth_current->send(eth_current, packet, length);
|
ret = eth_current->send(eth_current, packet, length);
|
||||||
#if defined(CONFIG_CMD_PCAP)
|
#if defined(CONFIG_CMD_PCAP)
|
||||||
if (ret >= 0)
|
if (ret >= 0)
|
||||||
pcap_post(packet, lengeth, true);
|
pcap_post(packet, length, true);
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user