diff options
Diffstat (limited to 'extras/hs-test/vppinstance.go')
-rw-r--r-- | extras/hs-test/vppinstance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/vppinstance.go b/extras/hs-test/vppinstance.go index a9b97bcaa0b..c871697cb44 100644 --- a/extras/hs-test/vppinstance.go +++ b/extras/hs-test/vppinstance.go @@ -236,7 +236,7 @@ func (vpp *VppInstance) createAfPacket( if veth.addressWithPrefix() == (AddressWithPrefix{}) { var err error var ip4Address string - if ip4Address, err = veth.addresser.newIp4Address(veth.peer.networkNumber); err == nil { + if ip4Address, err = veth.ip4AddrAllocator.NewIp4InterfaceAddress(veth.peer.networkNumber); err == nil { veth.ip4Address = ip4Address } else { return 0, err |