summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-26 12:07:24 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-06-26 12:07:24 +0200
commitc9e9cbb340953d04a34816d6b8475608b8ec6eae (patch)
treee6d705c0ac2708f4fa781e2f73ea03beda60b191
parent8f71737b1551d32e6e0f4c439940b2862a8a428c (diff)
proto-shell: add debug msg for calling handlers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--proto-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto-shell.c b/proto-shell.c
index 9fad3a0..7e9cbcf 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -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;