mirror of
https://github.com/opnsense/src.git
synced 2026-03-03 05:41:01 -05:00
Decode maximumim sized ethernet frames properly
This commit is contained in:
parent
01bd0dbc7e
commit
930ecf536c
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ ether_if_print(u_char *user, const struct pcap_pkthdr *h, const u_char *p)
|
|||
* Is it (gag) an 802.3 encapsulation?
|
||||
*/
|
||||
extracted_ethertype = 0;
|
||||
if (ether_type < ETHERMTU) {
|
||||
if (ether_type <= ETHERMTU) {
|
||||
/* Try to print the LLC-layer header & higher layers */
|
||||
if (llc_print(p, length, caplen, ESRC(ep), EDST(ep)) == 0) {
|
||||
/* ether_type not known, print raw packet */
|
||||
|
|
|
|||
Loading…
Reference in a new issue