udp-port can now be unset, and that will disable listening to UDP.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-12-07 17:44:31 +01:00
parent a53c4dba8e
commit 8a919d236f
3 changed files with 21 additions and 20 deletions
-3
View File
@@ -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";
}