net: eth_legacy - fix build CMD_PCAP
PATCH 1/1 net: eth_legacy - fix build CMD_PCAP
Fix typo which would cause a build error.
Fixes 3eaac6307df ("net: introduce packet capture support")
Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
--- net/eth_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/eth_legacy.c +1 -1
@@ -365,7 +365,7 @@ int eth_send(void *packet, int length) ret = eth_current->send (eth_current, packet, length);#if defined(CONFIG_CMD_PCAP )if (ret >=0 ) -pcap_post (packet, lengeth, true); +pcap_post (packet, length, true);#endif return ret; }
Signature · 1 line
2.17.1
PATCH 1/1 net: eth_legacy - fix build CMD_PCAP
Quoted 5 lines · Jorge Ramirez-Ortiz
Fix typo which would cause a build error.
Fixes 3eaac6307df ("net: introduce packet capture support")Signed-off-by Jorge Ramirez-Ortiz <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210119/5d5337f6/attachment.sig>