From: Felix Fietkau Date: Mon, 5 Mar 2012 19:46:17 +0000 (+0100) Subject: bridge: add a debug message when a device could not be added X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8dd62f559f99b6c5e1c32ef64a94b46d90237fc9;p=oweals%2Fnetifd.git bridge: add a debug message when a device could not be added --- 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;