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:
Andre Oppermann 2006-09-18 23:44:12 +00:00
parent 8c3c9a505f
commit 9fd7a4e705
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162425

View File

@ -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