]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/tap_darwin.go
Language mistakes and stylistic fixes
[govpn.git] / src / cypherpunks.ru / govpn / tap_darwin.go
index 766597cf8f25ffba1d183cfac097da4fb1bb8f32..8f0247ca3f638dea25b89558746e4d5bed6a8dfb 100644 (file)
@@ -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")