summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/ipxe/vlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/vlan.h b/src/include/ipxe/vlan.h
index b4d06b87..c9a9821a 100644
--- a/src/include/ipxe/vlan.h
+++ b/src/include/ipxe/vlan.h
@@ -49,7 +49,7 @@ struct vlan_header {
* @v tag VLAN tag
* @ret is_valid VLAN tag is valid
*/
-#define VLAN_TAG_IS_VALID( tag ) ( ( (tag) >= 1 ) && ( (tag) < 0xfff ) )
+#define VLAN_TAG_IS_VALID( tag ) ( (tag) < 0xfff )
/**
* Check VLAN priority is valid