From 47e9f00487863f6f636420545c97bc0520c24593 Mon Sep 17 00:00:00 2001 From: "Juan A. Garcia Pardo" Date: Fri, 20 Sep 2024 14:12:52 +0200 Subject: [PATCH] Improve one comment re. the HostAddr function in integration. --- tools/integration/integration.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/integration/integration.go b/tools/integration/integration.go index 09c455b9a5..b61d3e3e07 100644 --- a/tools/integration/integration.go +++ b/tools/integration/integration.go @@ -218,7 +218,8 @@ func generateAllSrcDst(hostAddr HostAddr, unique bool) []IAPair { type HostAddr func(ia addr.IA) *snet.UDPAddr -// CSAddr reads the CS host Addr from the topology for the specified IA. +// CSAddr reads the tester host Addr from the topology for the specified IA. +// If the address cannot be found, the CS address is returned. var CSAddr HostAddr = func(ia addr.IA) *snet.UDPAddr { if a := loadAddr(ia); a != nil { return a