From 8dd62f559f99b6c5e1c32ef64a94b46d90237fc9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 5 Mar 2012 20:46:17 +0100 Subject: [PATCH] bridge: add a debug message when a device could not be added --- bridge.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bridge.c b/bridge.c index dbfd470..1cafad8 100644 --- a/bridge.c +++ b/bridge.c @@ -107,8 +107,10 @@ bridge_enable_member(struct bridge_member *bm) goto error; ret = system_bridge_addif(&bst->dev, bm->dev.dev); - if (ret < 0) + if (ret < 0) { + D(DEVICE, "Bridge device %s could not be added\n", bm->dev.dev->ifname); goto error; + } return 0; -- 2.25.1