summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-02-08 19:00:23 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-02-08 19:00:23 +0000
commit84070adc0a6a50037789b0fc3b4f4c87efd63867 (patch)
tree36e19755993110b9552abf2501a474a4de71be94
parente34ff8c0880d27c8bd95775a8c964408206f18d5 (diff)
Add bridge name to debug when it fails to attach any interface.
-rw-r--r--network/server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/server.c b/network/server.c
index 18d58e42..2778a952 100644
--- a/network/server.c
+++ b/network/server.c
@@ -338,8 +338,9 @@ static void authorization_callback(DBusPendingCall *pcall, void *data)
bridge = bridge_get_name(ns->id);
if (bridge) {
if (bridge_add_interface(ns->id, devname) < 0) {
- error("Can't add %s to the bridge: %s(%d)",
- devname, strerror(errno), errno);
+ error("Can't add %s to the bridge %s: %s(%d)",
+ devname, bridge, strerror(errno),
+ errno);
goto failed;
}