forked from KolibriOS/kolibrios
Eth_input: allow frames smaller then 60 bytes.
git-svn-id: svn://kolibrios.org@3642 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c18b90b578
commit
2d3f4f397a
@ -57,7 +57,7 @@ ETH_input:
|
||||
mov ecx, [esp+4]
|
||||
|
||||
DEBUGF DEBUG_NETWORK_VERBOSE,"ETH_input: size=%u\n", ecx
|
||||
cmp ecx, ETH_FRAME_MINIMUM
|
||||
cmp ecx, sizeof.ETH_header ;ETH_FRAME_MINIMUM
|
||||
jb .dump
|
||||
sub ecx, sizeof.ETH_header
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user