From: Felix Fietkau Date: Wed, 5 Oct 2011 14:06:10 +0000 (+0200) Subject: add a debug message showing interface availability changes X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=6d5ca67a135a552a4232bc21705d33a567d00acc add a debug message showing interface availability changes --- 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) {