diff options
author | 2009-10-22 22:26:49 +0000 | |
---|---|---|
committer | 2009-10-22 22:26:49 +0000 | |
commit | 42c175a2a34a43077db59c3a238c977169fbccec (patch) | |
tree | aeab9d4ba2f5601ef77b0243ea073c70899633d1 /lib/libsndio | |
parent | switch from 3DES to AES-128 for encryption of passphrase-protected (diff) | |
download | wireguard-openbsd-42c175a2a34a43077db59c3a238c977169fbccec.tar.xz wireguard-openbsd-42c175a2a34a43077db59c3a238c977169fbccec.zip |
set protocol version number for midi too. Fixes aucat refusing
control connections.
Diffstat (limited to 'lib/libsndio')
-rw-r--r-- | lib/libsndio/mio_thru.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsndio/mio_thru.c b/lib/libsndio/mio_thru.c index a6d494d9377..eb5dd81bdcc 100644 --- a/lib/libsndio/mio_thru.c +++ b/lib/libsndio/mio_thru.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mio_thru.c,v 1.5 2009/08/21 16:48:03 ratchov Exp $ */ +/* $OpenBSD: mio_thru.c,v 1.6 2009/10/22 22:26:49 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -95,6 +95,7 @@ thru_open(const char *str, char *sock, unsigned mode, int nbio) */ AMSG_INIT(&msg); msg.cmd = AMSG_HELLO; + msg.u.hello.version = AMSG_VERSION; msg.u.hello.proto = 0; if (mode & MIO_IN) msg.u.hello.proto |= AMSG_MIDIIN; |