diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-05 20:46:17 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-05 20:46:17 +0100 |
commit | 8dd62f559f99b6c5e1c32ef64a94b46d90237fc9 (patch) | |
tree | 0d700eb008d43c5ba780550610dbd6e0652bee50 | |
parent | 6920c566c1d4e18ac0ece6b25642f8b4b139cedf (diff) |
bridge: add a debug message when a device could not be added
-rw-r--r-- | bridge.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |