projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6920c56
)
bridge: add a debug message when a device could not be added
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Mar 2012 19:46:17 +0000
(20:46 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Mar 2012 19:46:17 +0000
(20:46 +0100)
bridge.c
patch
|
blob
|
history
diff --git
a/bridge.c
b/bridge.c
index dbfd47050d99c73deab25b2ba7b6da257a7560de..1cafad82fd34ee87251f639ed8c9095572f95c77 100644
(file)
--- 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;