diff options
| author | Michael Brown | 2022-12-09 15:40:54 +0100 |
|---|---|---|
| committer | Michael Brown | 2022-12-14 12:05:37 +0100 |
| commit | 5e62b4bc6c7bd7c6929b3fe540fb1ba8744fd16c (patch) | |
| tree | 2092637af99dc3396ce2d949fe327b30d4c9160c /src/net/netdevice.c | |
| parent | [build] Disable dangling pointer checking for GCC (diff) | |
| download | ipxe-5e62b4bc6c7bd7c6929b3fe540fb1ba8744fd16c.tar.gz ipxe-5e62b4bc6c7bd7c6929b3fe540fb1ba8744fd16c.tar.xz ipxe-5e62b4bc6c7bd7c6929b3fe540fb1ba8744fd16c.zip | |
[vlan] Allow external code to identify VLAN priority as well as tag
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/netdevice.c')
| -rw-r--r-- | src/net/netdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c index 5df306e8d..51d1831cc 100644 --- a/src/net/netdevice.c +++ b/src/net/netdevice.c @@ -1171,12 +1171,12 @@ static void net_step ( struct process *process __unused ) { } /** - * Get the VLAN tag (when VLAN support is not present) + * Get the VLAN tag control information (when VLAN support is not present) * * @v netdev Network device * @ret tag 0, indicating that device is not a VLAN device */ -__weak unsigned int vlan_tag ( struct net_device *netdev __unused ) { +__weak unsigned int vlan_tci ( struct net_device *netdev __unused ) { return 0; } |
