mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Supplementary configuration is now read by the security module.
That allows sec-mod to handle both authentication and accounting. That deprecates the session-control configuration option.
This commit is contained in:
@@ -51,7 +51,6 @@
|
||||
# include <systemd/sd-daemon.h>
|
||||
#endif
|
||||
#include <main.h>
|
||||
#include <main-sup-config.h>
|
||||
#include <main-ctl.h>
|
||||
#include <route-add.h>
|
||||
#include <worker.h>
|
||||
@@ -987,8 +986,6 @@ int main(int argc, char** argv)
|
||||
|
||||
run_sec_mod(s);
|
||||
|
||||
sup_config_init(s);
|
||||
|
||||
ret = ctl_handler_init(s);
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, "Cannot create command handler\n");
|
||||
|
||||
Reference in New Issue
Block a user