chatgui: add Status page in settings (NTP + connections status)
This commit is contained in:
1 parent
f0bb03c2cf
commit
960cde3eda
15 files changed
+651
-62
No files matched your search
+6
-1
@@ -92,6 +92,11 @@ struct CFG_ALLOWED_KEY {
|
||||
struct CFG_ALLOWED_KEY *next;
|
||||
};
|
||||
|
||||
struct CFG_NTP_SERVER {
|
||||
char name[256];
|
||||
struct CFG_NTP_SERVER *next;
|
||||
};
|
||||
|
||||
#define MAX_TCP_PROXY_CLIENT_MAPPINGS 32
|
||||
struct tcp_proxy_client_mapping_config {
|
||||
uint16_t local_port;
|
||||
@@ -185,7 +190,7 @@ struct global_config {
|
||||
|
||||
// NTP configuration ([ntp] section)
|
||||
int ntp_enabled;
|
||||
char ntp_servers[5][256]; // up to 5 NTP server hostnames
|
||||
struct CFG_NTP_SERVER *ntp_servers; // linked list, unlimited
|
||||
int ntp_server_count;
|
||||
int ntp_resync_interval; // seconds, default 3600
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user