diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-05 16:06:10 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-05 16:06:10 +0200 |
commit | 6d5ca67a135a552a4232bc21705d33a567d00acc (patch) | |
tree | f2712afb4923bfbc58ddc78436af8e4def160282 | |
parent | 314b33c511f8aa53c9fb97c6a9ad9d410f06af26 (diff) |
add a debug message showing interface availability changes
-rw-r--r-- | interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.c b/interface.c index 73da2ab..62617e2 100644 --- 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) { |