summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index a6ea578564..7bd9465593 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1071,7 +1071,7 @@ class BaseConfig(object):
1071 logger.info("Network configuration:%s", netconf) 1071 logger.info("Network configuration:%s", netconf)
1072 self.kernel_cmdline_script += netconf 1072 self.kernel_cmdline_script += netconf
1073 # Port mapping 1073 # Port mapping
1074 hostfwd = ",hostfwd=tcp::2222-:22,hostfwd=tcp::2323-:23" 1074 hostfwd = ",hostfwd=tcp:127.0.0.1:2222-:22,hostfwd=tcp:127.0.0.1:2323-:23"
1075 qb_slirp_opt_default = "-netdev user,id=net0%s,tftp=%s" % (hostfwd, self.get('DEPLOY_DIR_IMAGE')) 1075 qb_slirp_opt_default = "-netdev user,id=net0%s,tftp=%s" % (hostfwd, self.get('DEPLOY_DIR_IMAGE'))
1076 qb_slirp_opt = self.get('QB_SLIRP_OPT') or qb_slirp_opt_default 1076 qb_slirp_opt = self.get('QB_SLIRP_OPT') or qb_slirp_opt_default
1077 # Figure out the port 1077 # Figure out the port