hs-test: refactor netconfig
[vpp.git] / extras / hs-test / linux_iperf_test.go
index 2c3437f..954b54e 100644 (file)
@@ -14,7 +14,7 @@ func (s *TapSuite) TestLinuxIperf() {
        s.assertNil(err)
        s.log("server running")
 
-       ipAddress := s.netInterfaces["tap0"].IP4AddressString()
+       ipAddress := s.netInterfaces[tapInterfaceName].IP4AddressString()
        go StartClientApp(ipAddress, nil, clnCh, clnRes)
        s.log("client running")
        s.log(<-clnRes)