projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314b33c
)
add a debug message showing interface availability changes
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 14:06:10 +0000
(16:06 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 5 Oct 2011 14:06:10 +0000
(16:06 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 73da2ab5053e73cc36d97512e369e97cf7dfeebb..62617e264bc0c1840af4fe08de255c84312c8b05 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-157,6
+157,7
@@
interface_set_available(struct interface *iface, bool new_state)
if (iface->available == new_state)
return;
+ D(INTERFACE, "Interface '%s', available=%d\n", iface->name, new_state);
iface->available = new_state;
if (new_state) {