add a debug message showing interface availability changes
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 14:06:10 +0000 (16:06 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Oct 2011 14:06:10 +0000 (16:06 +0200)
interface.c

index 73da2ab5053e73cc36d97512e369e97cf7dfeebb..62617e264bc0c1840af4fe08de255c84312c8b05 100644 (file)
@@ -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) {