summaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/ip_matchers.go
diff options
context:
space:
mode:
authorViktor Szépe <[email protected]>2024-05-10 16:08:54 +0200
committerGitHub <[email protected]>2024-05-10 08:08:54 -0600
commitd7e3a1974ba968afd84faad207b8717f5faf6ad6 (patch)
treed2a4a3976571e2aca697ad38b32801086b68b347 /modules/caddyhttp/ip_matchers.go
parente60148ecc39f78214f8fc47d3d94f7099b655f56 (diff)
downloadcaddy-d7e3a1974ba968afd84faad207b8717f5faf6ad6.tar.gz
caddy-d7e3a1974ba968afd84faad207b8717f5faf6ad6.zip
Fix typos (#6311)
* Fix typos * Revert * Revert to "htlm" * fix indentations
Diffstat (limited to 'modules/caddyhttp/ip_matchers.go')
-rw-r--r--modules/caddyhttp/ip_matchers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/ip_matchers.go b/modules/caddyhttp/ip_matchers.go
index d5571802d..00d17487c 100644
--- a/modules/caddyhttp/ip_matchers.go
+++ b/modules/caddyhttp/ip_matchers.go
@@ -274,7 +274,7 @@ func parseIPZoneFromString(address string) (netip.Addr, string, error) {
ipStr = address // OK; probably didn't have a port
}
- // Some IPv6-Adresses can contain zone identifiers at the end,
+ // Some IPv6-Addresses can contain zone identifiers at the end,
// which are separated with "%"
zoneID := ""
if strings.Contains(ipStr, "%") {