Code cleanup in and around connector (#427)

This commit is contained in:
Geoff Bourne
2025-07-05 21:30:23 -05:00
committed by GitHub
parent 05c57c3b85
commit b3e88db48c
6 changed files with 148 additions and 122 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func NewClientFilter(allows []string, denies []string) (*ClientFilter, error) {
}, nil
}
// Allow determines if the given address is allowed by this filter
// Allow determines if this filter allows the given address
// where addrStr is a netip.ParseAddr allowed address
func (f *ClientFilter) Allow(addrPort netip.AddrPort) bool {
if !f.allow.Empty() {