Skip to content

Commit c66a256

Browse files
committed
go fmt
1 parent acefb2a commit c66a256

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

phys/slirp.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ var (
1919
)
2020

2121
type SlirpProcess struct {
22-
addr *net.UnixAddr
23-
listener *net.UnixListener
22+
addr *net.UnixAddr
23+
listener *net.UnixListener
2424
socketDir string
2525
}
2626

@@ -33,7 +33,7 @@ func (c *SlirpProcess) runConnection(helperPath string, conn *net.UnixConn) {
3333
args := []string{
3434
helperPath,
3535
"--exit-with-parent",
36-
"--fd=3", // See Files[] array below
36+
"--fd=3", // See Files[] array below
3737
}
3838
p, err := os.StartProcess(helperPath, args, &os.ProcAttr{
3939
Files: []*os.File{os.Stdin, os.Stdout, os.Stderr, connFile},
@@ -97,7 +97,7 @@ func (c *SlirpProcess) CleanupSocketFiles() {
9797

9898
type SlirpConnection struct {
9999
conn *net.UnixConn
100-
buf [1500]byte
100+
buf [1500]byte
101101
}
102102

103103
func (c *SlirpProcess) Connect() (*SlirpConnection, error) {

0 commit comments

Comments
 (0)