projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb61e1
)
net: eth_legacy - fix build CMD_PCAP
author
Jorge Ramirez-Ortiz
<jorge@foundries.io>
Fri, 4 Dec 2020 19:59:58 +0000
(20:59 +0100)
committer
Tom Rini
<trini@konsulko.com>
Tue, 19 Jan 2021 14:15:02 +0000
(09:15 -0500)
Fix typo which would cause a build error.
Fixes:
3eaac6307df
("net: introduce packet capture support")
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
net/eth_legacy.c
patch
|
blob
|
history
diff --git
a/net/eth_legacy.c
b/net/eth_legacy.c
index
6e0c058
..
6870afb
100644
(file)
--- 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, leng
e
th, true);
+ pcap_post(packet, length, true);
#endif
return ret;
}