mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
if_vlan_var.h: fix value of DOT1Q_VID_MAX
This should be 4094 (0xFFE), not 4095 (0xFFF), since 0xFFF is not a valid VID. Fixes:c594920250("sys/net: add DOT1Q_VID_{MIN,MAX}") MFC after: 3 days Reviewed by: kevans, kp, adrian Approved by: kevans (mentor) Differential Revision: https://reviews.freebsd.org/D50576 (cherry picked from commitd9b6b10e5e)
This commit is contained in:
parent
6f3c8060d5
commit
3905d0c16a
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ struct vlanreq {
|
|||
#define DOT1Q_VID_DEF_SR_PVID 0x2
|
||||
#define DOT1Q_VID_RSVD_IMPL 0xfff
|
||||
#define DOT1Q_VID_MIN 1 /* minimum valid vlan id */
|
||||
#define DOT1Q_VID_MAX 4095 /* maximum valid vlan id */
|
||||
#define DOT1Q_VID_MAX 4094 /* maximum valid vlan id */
|
||||
|
||||
/*
|
||||
* 802.1q full tag. Proto and vid are stored in host byte order.
|
||||
|
|
|
|||
Loading…
Reference in a new issue