diff options
author | Jorge Ramirez-Ortiz <jorge@foundries.io> | 2020-12-04 20:59:58 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-19 09:15:02 -0500 |
commit | c1ab73814515c865896b0abc54d3071a1a273537 (patch) | |
tree | fe935251bf5c2b97f6894461c994ed68ba29f1c1 /net/eth_legacy.c | |
parent | beb61e13b8134c9aeaf1b2c0a2e13ed71d3be59e (diff) | |
download | u-boot-c1ab73814515c865896b0abc54d3071a1a273537.zip u-boot-c1ab73814515c865896b0abc54d3071a1a273537.tar.gz u-boot-c1ab73814515c865896b0abc54d3071a1a273537.tar.bz2 |
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 <jorge@foundries.io>
Diffstat (limited to 'net/eth_legacy.c')
-rw-r--r-- | net/eth_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c index 6e0c058..6870afb 100644 --- a/net/eth_legacy.c +++ b/net/eth_legacy.c @@ -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; } |