batman-adv: slightly improve neighbor creation debug message
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 25 Mar 2013 12:54:45 +0000 (13:54 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:53 +0000 (02:44 +0200)
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>
net/batman-adv/originator.c

index ddf563484798615999efaf1ee19abfb91259d688..f50553a7de629a411d94d307ba2ea54327e7b28f 100644 (file)
@@ -110,7 +110,8 @@ batadv_neigh_node_new(struct batadv_hard_iface *hard_iface,
        atomic_set(&neigh_node->refcount, 2);
 
        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:
        return neigh_node;