Skip to content

Commit 3f42be1

Browse files
Make gofmt happy
1 parent ce387c5 commit 3f42be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tun_freebsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (c *Tun) Activate() error {
4747
if err = exec.Command("ifconfig", c.Device, c.Cidr.String(), c.Cidr.IP.String()).Run(); err != nil {
4848
return fmt.Errorf("failed to run 'ifconfig': %s", err)
4949
}
50-
/* This is not needed on FreeBSD
50+
/* This is not needed on FreeBSD
5151
fmt.Println("command: route", "-n", "add", "-net", c.Cidr.String(), "-interface", c.Device)
5252
if err = exec.Command("route", "-n", "add", "-net", c.Cidr.String(), "-interface", c.Device).Run(); err != nil {
5353
return fmt.Errorf("failed to run 'route add': %s", err)

0 commit comments

Comments
 (0)