mirror of
https://github.com/torvalds/linux.git
synced 2026-11-08 21:24:02 +01:00
batman-adv: dat: fix printing of unknown 4addr subtype
If an unknown subtype of an unicast 4addr packets was detected in batadv_dbg_arp(), it is printing the (known) packet_type instead of the subtype. This must be switched to the subtype to have any kind of use for the reader of the debug message. Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
1b78070aae
commit
c6c8f1d693
|
|
@ -548,7 +548,7 @@ static void batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb,
|
|||
break;
|
||||
default:
|
||||
batadv_dbg(BATADV_DBG_DAT, bat_priv, "* type: Unknown (%u)!\n",
|
||||
unicast_4addr_packet->u.packet_type);
|
||||
unicast_4addr_packet->subtype);
|
||||
}
|
||||
break;
|
||||
case BATADV_BCAST:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user