mirror of
https://github.com/openNDS/openNDS.git
synced 2026-01-10 12:27:55 -05:00
Fix - failure to parse custom variables and custom images from config lists
Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
@@ -302,6 +302,8 @@ config_init(int argc, char **argv)
|
||||
// Lists
|
||||
parse_trusted_mac_list(set_list_str("trustedmac", DEFAULT_TRUSTEDMACLIST, debug_level));
|
||||
parse_fas_custom_parameters_list(set_list_str("fas_custom_parameters_list", DEFAULT_FAS_CUSTOM_PARAMETERS_LIST, debug_level));
|
||||
parse_fas_custom_variables_list(set_list_str("fas_custom_variables_list", DEFAULT_FAS_CUSTOM_VARIABLES_LIST, debug_level));
|
||||
parse_fas_custom_images_list(set_list_str("fas_custom_images_list", DEFAULT_FAS_CUSTOM_IMAGES_LIST, debug_level));
|
||||
|
||||
// Before we do anything else, reset the firewall (cleans it, in case we are restarting or after an opennds crash)
|
||||
iptables_fw_destroy();
|
||||
|
||||
@@ -120,6 +120,8 @@
|
||||
// Default lists
|
||||
#define DEFAULT_TRUSTEDMACLIST ""
|
||||
#define DEFAULT_FAS_CUSTOM_PARAMETERS_LIST ""
|
||||
#define DEFAULT_FAS_CUSTOM_VARIABLES_LIST ""
|
||||
#define DEFAULT_FAS_CUSTOM_IMAGES_LIST ""
|
||||
#define DEFAULT_USERS_TO_ROUTER "allow%20udp%20port%2053 allow%20udp%20port%2067 allow%20tcp%20port%2022 allow%20tcp%20port%20443"
|
||||
#define DEFAULT_AUTHENTICATED_USERS "allow%20all"
|
||||
#define DEFAULT_PREAUTHENTICATED_USERS ""
|
||||
|
||||
Reference in New Issue
Block a user