mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 20:15:06 -05:00
ntp: use one socket with random port when acquisitionport is 0
This commit is contained in:
2
conf.c
2
conf.c
@@ -79,7 +79,7 @@ static void parse_tempcomp(char *);
|
||||
static int restarted = 0;
|
||||
static int generate_command_key = 0;
|
||||
static char *rtc_device = "/dev/rtc";
|
||||
static int acquisition_port = 0; /* 0 means let kernel choose port */
|
||||
static int acquisition_port = -1;
|
||||
static int ntp_port = 123;
|
||||
static char *keys_file = NULL;
|
||||
static char *drift_file = NULL;
|
||||
|
||||
Reference in New Issue
Block a user