Diff between c437b6443cab967fb231d7ae94a512332a3733d9 and c1ba9154574d13ee0f0a8a8a65b4bd46fa6aa311

Changed Files

File Additions Deletions Status
src/main.c +9 -0 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index d402214..95c8341 100644
--- a/src/main.c
+++ b/src/main.c
@@ -93,6 +93,14 @@ static const char * const supported_options[] = {
 	NULL
 };
 
+static const char * const policy_options[] = {
+	"ReconnectUUIDs",
+	"ReconnectAttempts",
+	"ReconnectIntervals",
+	"AutoEnable",
+	NULL
+};
+
 GKeyFile *btd_get_main_conf(void)
 {
 	return main_conf;
@@ -221,6 +229,7 @@ static void check_config(GKeyFile *config)
 	g_strfreev(keys);
 
 	check_options(config, "General", supported_options);
+	check_options(config, "Policy", policy_options);
 }
 
 static int get_mode(const char *str)