diff --git a/ports/run/netperf.inc b/ports/run/netperf.inc index 9a61ed67e..f4f561292 100644 --- a/ports/run/netperf.inc +++ b/ports/run/netperf.inc @@ -155,7 +155,11 @@ append config { - + } +set lx_ip_addr "10.0.2.55" +append_if [have_spec linux] config " + " +append config { } append_if $use_nic_bridge config { @@ -212,6 +216,8 @@ set force_ports "" if [is_qemu_available] { set ip_addr "localhost" set force_ports "-P 49153,49153" +} elseif [have_spec linux] { + set ip_addr $lx_ip_addr } else { set match_string "got IP address (\[0-9\]+\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)" regexp $match_string $output all ip_addr