From ec7083e9e5ba28b679f231c7bc341330feddf2ce Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 28 Sep 2007 13:25:27 +0000 Subject: Fixes codestyle, bridge creation and some code cleanup. --- network/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'network/main.c') diff --git a/network/main.c b/network/main.c index 3ede75fe..6225ff4e 100644 --- a/network/main.c +++ b/network/main.c @@ -103,7 +103,7 @@ static void read_config(const char *file) err = NULL; } - conf.security = g_key_file_get_boolean(keyfile, "General", + conf.security = !g_key_file_get_boolean(keyfile, "General", "DisableSecurity", &err); if (err) { debug("%s: %s", file, err->message); @@ -155,8 +155,9 @@ static void read_config(const char *file) err = NULL; } - debug("Config options: InterfacePrefix=%s, PANUScript=%s, GNScript=%s, " - "NAPScript=%s, GNInterface=%s, NAPInterface=%s, Security=%s", + debug("Config options: InterfacePrefix=%s, PANU_Script=%s, " + "GN_Script=%s, NAP_Script=%s, GN_Interface=%s, " + "NAP_Interface=%s, Security=%s", conf.iface_prefix, conf.panu_script, conf.gn_script, conf.nap_script, conf.gn_iface, conf.nap_iface, conf.security ? "true" : "false"); -- cgit