add NTP time synchronization module
This commit is contained in:
1 parent
f3719a28df
commit
1a0229fd4f
8 files changed
+385
-2
No files matched your search
@@ -182,6 +182,12 @@ struct global_config {
|
||||
// TCP proxy server (exit node) configuration ([tcp_proxy_server] section)
|
||||
int tcp_proxy_server_enabled;
|
||||
int tcp_recv_buf; // SO_RCVBUF для TCP сокетов (0=default ОС)
|
||||
|
||||
// NTP configuration ([ntp] section)
|
||||
int ntp_enabled;
|
||||
char ntp_servers[5][256]; // up to 5 NTP server hostnames
|
||||
int ntp_server_count;
|
||||
int ntp_resync_interval; // seconds, default 3600
|
||||
};
|
||||
|
||||
struct utun_config {
|
||||
|
||||
Reference in new issue
Block a user