summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/amsg.h
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2012-11-23 06:40:26 +0000
committerratchov <ratchov@openbsd.org>2012-11-23 06:40:26 +0000
commit07e4e28e462a424a68709ae76796de42a5e40f5c (patch)
treec5ac803f35f796227e0120eb3c8c54d001b82734 /lib/libsndio/amsg.h
parent- Remove return's at the end of void functions (diff)
downloadwireguard-openbsd-07e4e28e462a424a68709ae76796de42a5e40f5c.tar.xz
wireguard-openbsd-07e4e28e462a424a68709ae76796de42a5e40f5c.zip
Make the client wait for the first flow control message rather than
assuming it can send a full initial data buffer. This requires protocol version bump (but no library version bump).
Diffstat (limited to 'lib/libsndio/amsg.h')
-rw-r--r--lib/libsndio/amsg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsndio/amsg.h b/lib/libsndio/amsg.h
index 6a5664ea138..2841f2e6edf 100644
--- a/lib/libsndio/amsg.h
+++ b/lib/libsndio/amsg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amsg.h,v 1.5 2012/11/02 10:24:58 ratchov Exp $ */
+/* $OpenBSD: amsg.h,v 1.6 2012/11/23 06:40:26 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -80,7 +80,7 @@ struct amsg {
} vol;
struct amsg_hello {
uint16_t mode; /* bitmap of MODE_XXX */
-#define AMSG_VERSION 6
+#define AMSG_VERSION 7
uint8_t version; /* protocol version */
uint8_t devnum; /* device number */
uint32_t _reserved[1]; /* for future use */