]> git.meshlink.io Git - meshlink/blobdiff - src/info.c
Put minor protocol version in connection options so other nodes can see it.
[meshlink] / src / info.c
index 6d0435f894d65ccfb8dfbcb856e9af2e345505f7..df5d11d18fff969d877f3934260dd3df12b1663f 100644 (file)
@@ -117,6 +117,7 @@ static int info_node(int fd, const char *item) {
        if(options & OPTION_CLAMP_MSS)
                printf(" clamp_mss");
        printf("\n");
+       printf("Protocol:     %d.%d\n", PROT_MAJOR, OPTION_VERSION(options));
        printf("Reachability: ");
        if(!*port)
                printf("can reach itself\n");