Skip to content

Commit

Permalink
details: nits from SCIONLab (#4629)
Browse files Browse the repository at this point in the history
While in the process of merging FABRID into SCIONLab, we have found
these very small nits to probably be beneficial to merge upstream
(here):
- Improve the comment on the package variable `HostAddr` in package
`tools/integration`.
  • Loading branch information
juagargi authored Sep 23, 2024
1 parent 2610321 commit 06a3c9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06a3c9b

Please sign in to comment.