aboutsummaryrefslogtreecommitdiffstats
path: root/receive.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-011-10/+48
| | | | | | Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false.
* Fix wrong debug messagesJason A. Donenfeld2018-04-201-1/+3
|
* Fixed read from closed channelMathias Hall-Andersen2018-04-181-3/+7
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Begin work on full device<->device unit-testMathias Hall-Andersen2018-03-081-1/+1
| | | | | To simulate a full interaction between two WireGuard instances without networking, using dummy instances of the interfaces
* Work on logging formatMathias Hall-Andersen2018-02-041-7/+9
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+642