batman-adv: slightly improve neighbor creation debug message
print the interface along with the new neighbor mac address Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
This commit is contained in:
committed by
Antonio Quartulli
parent
863dd7a82a
commit
d1dc30739c
@@ -110,7 +110,8 @@ batadv_neigh_node_new(struct batadv_hard_iface *hard_iface,
|
|||||||
atomic_set(&neigh_node->refcount, 2);
|
atomic_set(&neigh_node->refcount, 2);
|
||||||
|
|
||||||
batadv_dbg(BATADV_DBG_BATMAN, bat_priv,
|
batadv_dbg(BATADV_DBG_BATMAN, bat_priv,
|
||||||
"Creating new neighbor %pM\n", neigh_addr);
|
"Creating new neighbor %pM on interface %s\n", neigh_addr,
|
||||||
|
hard_iface->net_dev->name);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
return neigh_node;
|
return neigh_node;
|
||||||
|
Reference in New Issue
Block a user