warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 5744ad96762b7364dcbce292ba3a34c30cc1b506
parent b70a79e758ba4e7f22daa7ed369766d31ccf23c2
Author: sin <sin@2f30.org>
Date:   Mon, 21 Mar 2016 18:46:18 +0000

Adjust buffer size

Diffstat:
Mstun.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stun.c b/stun.c @@ -323,7 +323,7 @@ response(int netfd) int tunnel(int netfd, int tunfd) { - unsigned char buf[MTU + AES_BLOCK_SIZE + HDRLEN]; + unsigned char buf[MTU + AES_BLOCK_SIZE]; struct pollfd pfd[2]; int ret, n;