Gofmt Cleanup

This commit is contained in:
Matthew Ellison 2017-05-23 09:43:05 -04:00
parent 3c9a2e9525
commit f9df1e79f2
No known key found for this signature in database
GPG key ID: A815A44BDC8DD409
2 changed files with 2 additions and 4 deletions

4
if.go
View file

@ -1,8 +1,8 @@
package water
import (
"io"
"errors"
"io"
)
// Interface is a TUN/TAP interface.
@ -73,5 +73,3 @@ func (ifce *Interface) IsTAP() bool {
func (ifce *Interface) Name() string {
return ifce.name
}

View file

@ -110,7 +110,7 @@ func createInterface(fd uintptr, ifName string, flags uint16) (createdIFName str
}
func setPersistence(fd uintptr, enabled bool) error {
value := 0;
value := 0
if enabled {
value = 1
}