summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/vppinstance.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-06-08 17:39:39 +0200
committerFlorin Coras <florin.coras@gmail.com>2023-06-08 17:04:36 +0000
commit3a910ab76800b9608b05e6b188730a2290b51ae0 (patch)
tree574fb81d426eb670cbfa22a764b1bee0cba6e7fc /extras/hs-test/vppinstance.go
parentd5b6f9c0ef98f148b0e728fc1e8ccd8ba3faa806 (diff)
hs-test: rename address allocator
Type: test Change-Id: I1745719315d4e0785df5a03aa4312f84c40cb18f Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/vppinstance.go')
-rw-r--r--extras/hs-test/vppinstance.go2
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