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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user