mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct the setting of the VID in transmit descriptors when hardware VLAN
tagging is enabled. This was broken in r266978. Reported by: gjb Tested by: gjb
This commit is contained in:
parent
e8df2232e0
commit
58e6549541
1 changed files with 1 additions and 1 deletions
|
|
@ -2012,7 +2012,7 @@ retry:
|
|||
|
||||
if (m_head->m_flags & M_VLANTAG) {
|
||||
/* Set the vlan id. */
|
||||
txd_upper |= htole16((if_getvtag(m_head)) << 16);
|
||||
txd_upper |= htole16(if_getvtag(m_head)) << 16;
|
||||
/* Tell hardware to add tag */
|
||||
txd_lower |= htole32(E1000_TXD_CMD_VLE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue