diff options
Diffstat (limited to 'extras/hs-test/proxy_test.go')
-rw-r--r-- | extras/hs-test/proxy_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/proxy_test.go b/extras/hs-test/proxy_test.go index d8918f1842b..f1218662374 100644 --- a/extras/hs-test/proxy_test.go +++ b/extras/hs-test/proxy_test.go @@ -50,14 +50,14 @@ func testProxyHttpTcp(s *NsSuite) error { } func configureVppProxy(s *NsSuite) error { - serverVeth := s.netInterfaces[serverInterface].(*NetworkInterfaceVeth) + serverVeth := s.netInterfaces[serverInterface] clientVeth := s.netInterfaces[clientInterface] testVppProxy := s.getContainerByName("vpp").vppInstance output := testVppProxy.vppctl( "test proxy server server-uri tcp://%s/555 client-uri tcp://%s/666", clientVeth.IP4AddressString(), - serverVeth.PeerIp4AddressString(), + serverVeth.Peer().IP4AddressString(), ) s.log("proxy configured...", output) return nil |