]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/cmd/govpn-server/udp.go
Raise copyright years
[govpn.git] / src / cypherpunks.ru / govpn / cmd / govpn-server / udp.go
index 374b4dd7a84868d4386415c391225813b053d871..5cea96afc43483ac5f59fa45e16f596bd6c66179 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoVPN -- simple secure free software virtual private network daemon
-Copyright (C) 2014-2016 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2017 Sergey Matveev <stargrave@stargrave.org>
 
 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)