config option

This commit is contained in:
Sergey Dorofeev
2011-12-13 23:10:02 +04:00
parent d8d3e4d17b
commit 47267a1af6
6 changed files with 1997 additions and 620 deletions
+2
View File
@@ -449,6 +449,8 @@ int main(int argc, char *argv[], char *envp[])
(void)debug_setfilename(log_getfilename(LOG_FILE_DEBUG));
#endif
printf("split_inb: %s\n", conf_boolean(cf_split_inbound)?"yes":"no");
if( opts.daemon )
rc = bforce_daemon(&opts);
else if( role )
+1
View File
@@ -174,6 +174,7 @@ s_conf_entry bforce_config[BFORCE_NUMBER_OF_KEYWORDS+1] = {
#ifdef DEBUG
CONF_KEY(debug_file, CT_STRING),
CONF_KEY(debug_level, CT_DEBLEVEL),
CONF_KEY(split_inbound, CT_BOOLEAN),
#endif
CONF_END()
};