aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-config.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-15 16:41:54 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-15 17:23:33 +0100
commit96ee1e30743b88780cc9dc975745d8dc03de25ae (patch)
tree0ce88df365ce4e786fd3b78a12f17158d9da92cd /src/afb-config.c
parentf7b281af2b449de0c9cddde6d455b17905631a75 (diff)
afb-config: Fully exclude config monitoring
Change-Id: I93b3d49f46d4dec607b08cc439b6cb06cf68ec32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-config.c')
-rw-r--r--src/afb-config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-config.c b/src/afb-config.c
index f7e50008..fc3f5d70 100644
--- a/src/afb-config.c
+++ b/src/afb-config.c
@@ -738,7 +738,9 @@ void afb_config_dump(struct afb_config *config)
B(no_ldpaths)
B(noHttpd)
B(background)
+#if defined(WITH_MONITORING_OPTION)
B(monitoring)
+#endif
B(random_token)
P("---END-OF-CONFIG---\n");
@@ -866,7 +868,9 @@ struct json_object *afb_config_json(struct afb_config *config)
B(no_ldpaths)
B(noHttpd)
B(background)
+#if defined(WITH_MONITORING_OPTION)
B(monitoring)
+#endif
B(random_token)
#undef E