mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't forget to add curly braces when doing more than one line of actions
after a 'if' statement. Pointy hat to: andre
This commit is contained in:
parent
8c3c9a505f
commit
9fd7a4e705
1 changed files with 2 additions and 1 deletions
|
|
@ -3393,11 +3393,12 @@ em_rxeof(struct adapter *adapter, int count)
|
|||
em_fixup_rx(adapter) != 0)
|
||||
goto skip;
|
||||
#endif
|
||||
if (status & E1000_RXD_STAT_VP)
|
||||
if (status & E1000_RXD_STAT_VP) {
|
||||
adapter->fmp->m_pkthdr.ether_vtag =
|
||||
(le16toh(current_desc->special) &
|
||||
E1000_RXD_SPC_VLAN_MASK);
|
||||
adapter->fmp->m_flags |= M_VLANTAG;
|
||||
}
|
||||
#ifndef __NO_STRICT_ALIGNMENT
|
||||
skip:
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue