projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix segfault when using tincctl's shell without readline.
[tinc]
/
src
/
protocol.h
diff --git
a/src/protocol.h
b/src/protocol.h
index
540a7c3
..
41f74ab
100644
(file)
--- a/
src/protocol.h
+++ b/
src/protocol.h
@@
-24,7
+24,7
@@
/* Protocol version. Different major versions are incompatible. */
#define PROT_MAJOR 17
/* 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 */
/* Silly Windows */
@@
-43,7
+43,10
@@
typedef enum request_t {
ADD_EDGE, DEL_EDGE,
KEY_CHANGED, REQ_KEY, ANS_KEY,
PACKET,
ADD_EDGE, DEL_EDGE,
KEY_CHANGED, REQ_KEY, ANS_KEY,
PACKET,
+ /* Tinc 1.1 requests */
CONTROL,
CONTROL,
+ REQ_PUBKEY, ANS_PUBKEY,
+ REQ_SPTPS,
LAST /* Guardian for the highest request number */
} request_t;
LAST /* Guardian for the highest request number */
} request_t;