X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Ftap.go;h=e1faa55559ab2916cdd5421c82dcfb49eee3442a;hb=70e70dfded87dc2d737160444829c58ed8ed2fa0;hp=8a44575e5e4eddfd6235ca143d5af8ff9e318ef9;hpb=b079f41f6b4d5d13f16caf047f7671e72cd99c45;p=govpn.git diff --git a/src/cypherpunks.ru/govpn/tap.go b/src/cypherpunks.ru/govpn/tap.go index 8a44575..e1faa55 100644 --- a/src/cypherpunks.ru/govpn/tap.go +++ b/src/cypherpunks.ru/govpn/tap.go @@ -1,6 +1,6 @@ /* GoVPN -- simple secure free software virtual private network daemon -Copyright (C) 2014-2016 Sergey Matveev +Copyright (C) 2014-2018 Sergey Matveev 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 @@ -58,7 +58,7 @@ func NewTAP(ifaceName string, mtu int) (*TAP, error) { bufZ = !bufZ n, err = tap.dev.Read(buf) if err != nil { - panic("Reading TAP:" + err.Error()) + panic("Reading TUN/TAP:" + err.Error()) } tap.Sink <- buf[:n] }