proto-shell: add debug msg for calling handlers
authorFelix Fietkau <nbd@openwrt.org>
Thu, 26 Jun 2014 10:07:24 +0000 (12:07 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 26 Jun 2014 10:07:24 +0000 (12:07 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
proto-shell.c

index 9fad3a0..7e9cbcf 100644 (file)
@@ -187,6 +187,7 @@ proto_shell_handler(struct interface_proto_state *proto,
                uloop_timeout_set(&state->teardown_timeout, 5000);
        }
 
+       D(INTERFACE, "run %s for interface '%s'\n", action, proto->iface->name);
        config = blobmsg_format_json(state->config, true);
        if (!config)
                return -1;