]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/tap.go
Ability to use TUN-interfaces under GNU/Linux
[govpn.git] / src / cypherpunks.ru / govpn / tap.go
index 8a44575e5e4eddfd6235ca143d5af8ff9e318ef9..9010c55b6c3a89eb0b224298c74c4aa002c5aa0b 100644 (file)
@@ -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]
                }