1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 14:56:44 +02:00

Ignore bootstrap nodes that use a domain instead of IP address

Domains cause toxcore to do blocking DNS requests which creates noticable lag
and might (??) leak IP addresses when using a proxy
This commit is contained in:
Jfreegman
2016-09-21 00:28:16 -04:00
parent 151f5f0c51
commit 221d761ff4
3 changed files with 17 additions and 1 deletions

View File

@ -161,4 +161,7 @@ int check_file_signature(const char *signature, size_t size, FILE *fp);
/* sets window title in tab bar. */
void set_window_title(ToxWindow *self, const char *title, int len);
/* Return true if address appears to be a valid ipv4 address. */
bool is_ip4_address(const char *address);
#endif /* #define MISC_TOOLS_H */