Fix a couple of typos (#1316)

`hanlder` -> `handler`

`bounderies` -> `boundaries`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2017-12-15 15:31:57 -06:00
committed by Miek Gieben
parent c6937b0bfc
commit ba4e77672c
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ func (h *dnsContext) InspectServerBlocks(sourceFile string, serverBlocks []caddy
}
ones, bits := za.IPNet.Mask.Size()
if (bits-ones)%8 != 0 { // only do this for non-octet bounderies
if (bits-ones)%8 != 0 { // only do this for non-octet boundaries
cfg.FilterFunc = func(s string) bool {
// TODO(miek): strings.ToLower! Slow and allocates new string.
addr := dnsutil.ExtractAddressFromReverse(strings.ToLower(s))