Add a comment for tunnel processor

This commit is contained in:
Asim Aslam 2019-07-10 19:13:50 +01:00
parent 4cca2b43a3
commit ffae0f0fab

View File

@ -280,6 +280,10 @@ func (t *tun) Listen(addr string) (Listener, error) {
socket: c, socket: c,
} }
// this kicks off the internal message processor
// for the listener so it can create pseudo sockets
// per session if they do not exist or pass messages
// to the existign sessions
go tl.process() go tl.process()
// return the listener // return the listener