Use a status bit to track which nodes use SPTPS.
[tinc] / src / info.c
index eb0d395..0ff56cd 100644 (file)
@@ -104,6 +104,8 @@ static int info_node(int fd, const char *item) {
                printf(" reachable");
        if(status.indirect)
                printf(" indirect");
+       if(status.sptps)
+               printf(" sptps");
        printf("\n");
        printf("Options:     ");
        if(options & OPTION_INDIRECT)