aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-05-26 17:15:35 -0400
committerDmitry Vyukov <dvyukov@google.com>2024-05-27 17:01:28 +0000
commitf550015e921148a45f14a8ea6ac8fe1ade4907af (patch)
tree29bd13ac72724d1467a48cc03d7d9b35557a0234 /vm
parentf486078ac5d3eca51b34d2fdedeeba2a729f6296 (diff)
docs/freebsd: update with notes on slirp-based networking
Diffstat (limited to 'vm')
-rw-r--r--vm/bhyve/bhyve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/bhyve/bhyve.go b/vm/bhyve/bhyve.go
index 1570b7939..e645ca191 100644
--- a/vm/bhyve/bhyve.go
+++ b/vm/bhyve/bhyve.go
@@ -333,7 +333,7 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin
}
inst.merger.Add("ssh", rpipe)
- sshargs := []string{}
+ var sshargs []string
if inst.forwardPort != 0 {
sshargs = vmimpl.SSHArgsForward(inst.debug, inst.sshkey, inst.port, inst.forwardPort, false)
} else {