From: Linus Nordberg Date: Wed, 9 Mar 2011 22:10:08 +0000 (+0100) Subject: Change default configuration to do RadSec rather than UDP. X-Git-Tag: libradsec-0.0.1~24^2~8 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=radsecproxy.git;a=commitdiff_plain;h=192dd27b23f9d982a47cad3a4eb88c2fcb3ff3e0 Change default configuration to do RadSec rather than UDP. --- diff --git a/lib/conf.c b/lib/conf.c index 7e27f0b..14bc3ef 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -42,15 +42,15 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) cfg_opt_t server_opts[] = { CFG_STR ("hostname", NULL, CFGF_NONE), - CFG_STR ("service", "radius", CFGF_NONE), - CFG_STR ("secret", NULL, CFGF_NONE), + CFG_STR ("service", "2083", CFGF_NONE), + CFG_STR ("secret", "radsec", CFGF_NONE), CFG_END () }; cfg_opt_t config_opts[] = { CFG_STR ("type", "UDP", CFGF_NONE), - CFG_INT ("timeout", 2, CFGF_NONE), - CFG_INT ("retries", 2, CFGF_NONE), + CFG_INT ("timeout", 2, CFGF_NONE), /* FIXME: Remove? */ + CFG_INT ("retries", 2, CFGF_NONE), /* FIXME: Remove? */ CFG_STR ("cacertfile", NULL, CFGF_NONE), /*CFG_STR ("cacertpath", NULL, CFGF_NONE),*/ CFG_STR ("certfile", NULL, CFGF_NONE),