mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
udp-port can now be unset, and that will disable listening to UDP.
This commit is contained in:
@@ -452,9 +452,6 @@ static void check_cfg( struct cfg_st *config)
|
||||
if (config->dpd == 0)
|
||||
config->keepalive = 60;
|
||||
|
||||
if (config->udp_port == 0)
|
||||
config->udp_port = config->port;
|
||||
|
||||
if (config->priorities == NULL)
|
||||
config->priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user