Displaying 1 result from an estimated 1 matches for "past_request_tree".
2010 Nov 15
1
Dashes in node names
...revents appling such a diff?:
----- start diff -----
diff -ruNp tinc-1.0.13/src/protocol.c tinc-1.0.13.new1/src/protocol.c
--- tinc-1.0.13/src/protocol.c 2010-03-13 18:53:33.000000000 +0100
+++ tinc-1.0.13.new1/src/protocol.c 2010-11-15 15:11:05.056142676 +0100
@@ -56,7 +56,7 @@ static avl_tree_t *past_request_tree;
bool check_id(const char *id) {
for(; *id; id++)
- if(!isalnum(*id) && *id != '_')
+ if(!isalnum(*id) && *id != '_' && *id != '-')
return false;
return true;
----- end diff ----...