From: Antonio Quartulli <antonio@open-mesh.com>
Date: Mon, 25 Mar 2013 12:54:45 +0000 (+0100)
Subject: batman-adv: slightly improve neighbor creation debug message
X-Git-Tag: v3.11-rc1~16^2~267^2~16
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d1dc30739c587fe65f4120c045258ab01c79db1b;p=users%2Fjedix%2Flinux-maple.git

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>
---

diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index ddf563484798..f50553a7de62 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -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;