Merge branch 'master' into 1.1
[tinc] / src / protocol.h
index 540a7c3..41f74ab 100644 (file)
@@ -24,7 +24,7 @@
 /* Protocol version. Different major versions are incompatible. */
 
 #define PROT_MAJOR 17
-#define PROT_MINOR 2
+#define PROT_MINOR 2 /* Should not exceed 255! */
 
 /* Silly Windows */
 
@@ -43,7 +43,10 @@ typedef enum request_t {
        ADD_EDGE, DEL_EDGE,
        KEY_CHANGED, REQ_KEY, ANS_KEY,
        PACKET,
+       /* Tinc 1.1 requests */
        CONTROL,
+       REQ_PUBKEY, ANS_PUBKEY,
+       REQ_SPTPS,
        LAST                                            /* Guardian for the highest request number */
 } request_t;