X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Ftap_darwin.go;h=8f0247ca3f638dea25b89558746e4d5bed6a8dfb;hb=f74b9372fd8ec1d040fc2ebb29ee60077b3e1efc;hp=766597cf8f25ffba1d183cfac097da4fb1bb8f32;hpb=3fdd922de75e1901e37f75ab182d434f20d64c85;p=govpn.git diff --git a/src/cypherpunks.ru/govpn/tap_darwin.go b/src/cypherpunks.ru/govpn/tap_darwin.go index 766597c..8f0247c 100644 --- a/src/cypherpunks.ru/govpn/tap_darwin.go +++ b/src/cypherpunks.ru/govpn/tap_darwin.go @@ -31,7 +31,7 @@ func newTAPer(ifaceName *string) (io.ReadWriteCloser, error) { return nil, errors.Wrap(errUnsupportedInterface, *ifaceName) } if *ifaceName != interfaceTun { - return nil, errors.Errorf("Darwin don't allow to set an interface name, only %q is supported", *ifaceName) + return nil, errors.Errorf("Darwin does not allow to set an interface name, only %q is supported", *ifaceName) } output, err := water.New(water.Config{DeviceType: water.TUN}) return output, errors.Wrap(err, "water.New")