In device_handle_read() we need to reset the read event on error or
authorTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 22 Feb 2018 21:27:37 +0000 (14:27 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 22 Feb 2018 21:27:37 +0000 (14:27 -0700)
commit03a94cb3148544230bdd306e905d2ce88c551c12
tree3dbe8a47536f40aafd447753e70ceb09991123c4
parentf10e98f5e5a3537b43fbc53f07ab691265de999a
In device_handle_read() we need to reset the read event on error or
it will keep firing.  This is easy to reproduce by suspending the
machine while tinc is running.
src/mingw/device.c