diff --git a/internal/dhcpsvc/v4.go b/internal/dhcpsvc/v4.go index f43e112af1d..f238c412c3f 100644 --- a/internal/dhcpsvc/v4.go +++ b/internal/dhcpsvc/v4.go @@ -428,7 +428,7 @@ func (iface *dhcpInterfaceV4) handleSelecting( // TODO(e.burkov): Implement. } -// handleSelecting handles messages of type request in INIT-REBOOT state. +// handleInitReboot handles messages of type request in INIT-REBOOT state. func (iface *dhcpInterfaceV4) handleInitReboot( ctx context.Context, rw responseWriter4, diff --git a/internal/filtering/filtering.go b/internal/filtering/filtering.go index df65308f690..a9a649bba87 100644 --- a/internal/filtering/filtering.go +++ b/internal/filtering/filtering.go @@ -826,7 +826,7 @@ func (d *DNSFilter) initFiltering(allowFilters, blockFilters []Filter) (err erro return nil } -// hostRules is a helper that converts a slice of host rules into a slice of the +// hostRulesToRules is a helper that converts a slice of host rules into a slice of the // rules.Rule interface values. func hostRulesToRules(netRules []*rules.HostRule) (res []rules.Rule) { if netRules == nil { diff --git a/internal/querylog/decode.go b/internal/querylog/decode.go index 47d87efc027..5ba494941db 100644 --- a/internal/querylog/decode.go +++ b/internal/querylog/decode.go @@ -684,7 +684,7 @@ var resultHandlers = map[string]logEntryHandler{ }, } -// resultDecHandlers calls a decode handler for key if there is one. +// resultDecHandler calls a decode handler for key if there is one. func (l *queryLog) resultDecHandler( ctx context.Context, name string,