]> git.meshlink.io Git - meshlink/blobdiff - src/connection.h
Add a minor number to the protocol version.
[meshlink] / src / connection.h
index 75015ffe3214669958cc5dedd3e23007993bf691..21edf110e4bb358dcd992d0ddd84565fb038f5f6 100644 (file)
@@ -56,7 +56,8 @@ typedef struct connection_t {
 
        union sockaddr_t address;                       /* his real (internet) ip */
        char *hostname;                         /* the hostname of its real ip */
-       int protocol_version;           /* used protocol */
+       int protocol_major;             /* used protocol */
+       int protocol_minor;             /* used protocol */
 
        int socket;                                     /* socket used for this connection */
        uint32_t options;                       /* options for this connection */