summaryrefslogtreecommitdiff
path: root/lib/conf.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-09 23:10:08 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-09 23:10:08 +0100
commit192dd27b23f9d982a47cad3a4eb88c2fcb3ff3e0 (patch)
tree7cb8c1f5201398ab901f8a6fbcfb1d2a4abeb562 /lib/conf.c
parent0a7d803b9aa40512cf0f0c574d397ccba3ff1d13 (diff)
Change default configuration to do RadSec rather than UDP.
Diffstat (limited to 'lib/conf.c')
-rw-r--r--lib/conf.c8
1 files changed, 4 insertions, 4 deletions
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),