diff options
| author | Linus Nordberg <linus@nordu.net> | 2011-03-09 23:10:08 +0100 | 
|---|---|---|
| committer | Linus Nordberg <linus@nordu.net> | 2011-03-09 23:10:08 +0100 | 
| commit | 192dd27b23f9d982a47cad3a4eb88c2fcb3ff3e0 (patch) | |
| tree | 7cb8c1f5201398ab901f8a6fbcfb1d2a4abeb562 | |
| parent | 0a7d803b9aa40512cf0f0c574d397ccba3ff1d13 (diff) | |
Change default configuration to do RadSec rather than UDP.
| -rw-r--r-- | lib/conf.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -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), | 
