Also, the error checking for writing to the TUN interface was incorrect so that was fixed as well.
Attach a file by drag & drop or click to upload