X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Fcmd%2Fgovpn-server%2Fudp.go;h=5cea96afc43483ac5f59fa45e16f596bd6c66179;hb=572cac17bde738055312f7a468a0bde0e760a262;hp=374b4dd7a84868d4386415c391225813b053d871;hpb=3413874a359d386b082614637c9ab247bb6510b4;p=govpn.git diff --git a/src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go b/src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go index 374b4dd..5cea96a 100644 --- a/src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go +++ b/src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go @@ -1,6 +1,6 @@ /* GoVPN -- simple secure free software virtual private network daemon -Copyright (C) 2014-2016 Sergey Matveev +Copyright (C) 2014-2017 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -121,7 +121,7 @@ func startUDP() { terminator: make(chan struct{}), } go func(ps PeerState) { - peerReady(ps) + govpn.PeerTapProcessor(ps.peer, ps.tap, ps.terminator) <-udpBufs <-udpBufs }(*ps) @@ -159,7 +159,7 @@ func startUDP() { terminator: make(chan struct{}), } go func(ps PeerState) { - peerReady(ps) + govpn.PeerTapProcessor(ps.peer, ps.tap, ps.terminator) <-udpBufs <-udpBufs }(*ps)