Fix error: "host has no public ip address" for iperf server.

The original method to get host's public IP is not hold anymore. Instead, changing to use any of DUT reachable host IPv4 address (take the first found one) as local iperf server IP on host.

Test: local run few cases in WifiManagerTest, results are PASS.

Type: Record
Test Name: test_scan
Test Class: WifiManagerTest
Begin Time: 1721984533409
End Time: 1721984592892
Log Begin Time: '2024-07-26 09:02:13.409'
Log End Time: '2024-07-26 09:03:12.892'
Result: PASS

Bug: 355633970
Change-Id: I3f128c44b76323d394d966762eacaeb7a26768a0
2 files changed
tree: 5360a62620b1804cf8b2850a3a1ef472ebe87859
  1. acts/
  2. acts_tests/
  3. tools/
  4. wts-acts/
  5. Android.mk
  6. LICENSE
  7. OWNERS
  8. PREUPLOAD.cfg