Use AF_UNSPEC instead of AF_UNKNOWN for unspecified local address in add_edge_h().
[tinc] / src / utils.h
index 28afc4e..c3364ce 100644 (file)
@@ -50,6 +50,7 @@ extern const char *winerror(int);
 
 extern unsigned int bitfield_to_int(const void *bitfield, size_t size);
 
+extern bool check_id(const char *);
 char *replace_name(const char *name);
 
 #endif /* __TINC_UTILS_H__ */