mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-10 14:57:01 +08:00
Added the configure option server-name
If set it will be used to set the NAS_IDENTIFIER in radius.
This commit is contained in:
@@ -62,7 +62,7 @@ void sec_auth_init(sec_mod_st * sec, struct cfg_st *config)
|
||||
|
||||
for (i=0;i<config->auth_methods;i++) {
|
||||
if (config->auth[i].enabled && config->auth[i].amod && config->auth[i].amod->global_init)
|
||||
config->auth[i].amod->global_init(sec, config->auth[i].additional);
|
||||
config->auth[i].amod->global_init(sec, config->server_name, config->auth[i].additional);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user