net: vlan: Fix RX debug print

The interface index and tag prints were swapped.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
Jukka Rissanen 2024-09-03 18:17:41 +03:00 committed by Anas Nashif
parent 25301ace0e
commit 36137bc8cc

View file

@ -602,8 +602,8 @@ static enum net_verdict vlan_interface_recv(struct net_if *iface,
char str[sizeof("RX iface xx (tag xxxx)")];
snprintk(str, sizeof(str), "RX iface %d (tag %d)",
net_pkt_vlan_tag(pkt),
net_if_get_by_iface(iface));
net_if_get_by_iface(iface),
net_pkt_vlan_tag(pkt));
net_pkt_hexdump(pkt, str);
}