warp-vpn

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

commit 240980d1258bf0380609e45c30f9584ecb1dbd80
parent 8ec0b3f5008dbd22790c38bd705333422f09c0ba
Author: sin <sin@2f30.org>
Date:   Mon, 21 Mar 2016 13:35:29 +0000

rename loop() to tunnel()

Diffstat:
stun.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stun.c b/stun.c @@ -292,7 +292,7 @@ response(int netfd) } int -loop(int netfd, int tunfd) +tunnel(int netfd, int tunfd) { unsigned char buf[MTU + AES_BLOCK_SIZE + HDRLEN]; struct pollfd pfd[2]; @@ -380,7 +380,7 @@ serversetup(int tunfd) continue; } - loop(netfd, tunfd); + tunnel(netfd, tunfd); close(netfd); } } @@ -422,7 +422,7 @@ clientsetup(int tunfd) if (ret < 0) errx(1, "failed to respond to challenge"); - return loop(netfd, tunfd); + return tunnel(netfd, tunfd); } void