Initialize ; variable eraly to shut up GCC warning.
This commit is contained in:
parent
a994007d62
commit
a0ec13c419
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132778
@ -325,6 +325,7 @@ ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
|
||||
int isr;
|
||||
|
||||
ether_type = ntohs(eh->ether_type);
|
||||
l = NULL;
|
||||
if (ether_type < ETHERMTU) {
|
||||
l = mtod(m, struct llc*);
|
||||
if (l->llc_dsap == 0xff && l->llc_ssap == 0xff) {
|
||||
|
Loading…
Reference in New Issue
Block a user