projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fork when using the "start" command in tincctl.
[tinc]
/
src
/
info.c
diff --git
a/src/info.c
b/src/info.c
index
0ff56cd
..
18b8e24
100644
(file)
--- a/
src/info.c
+++ b/
src/info.c
@@
-33,7
+33,7
@@
void logger(int level, int priority, const char *format, ...) {
va_end(ap);
}
-
static
char *strip_weight(char *netstr) {
+char *strip_weight(char *netstr) {
int len = strlen(netstr);
if(len >= 3 && !strcmp(netstr + len - 3, "#10"))
netstr[len - 3] = 0;