Skip to content

Commit

Permalink
dns53/ipmapper: m hostname in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Nov 2, 2023
1 parent ba1f4f8 commit bca7c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intra/dns53/ipmapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ func (m *ipmapper) LookupNetIP(ctx context.Context, network, host string) ([]net

if len(r4) <= 0 && len(r6) <= 0 {
errs := errors.Join(errNoAns, lerr4, lerr6)
log.E("ipmapper: lookup: no answers, err %v", errs)
log.E("ipmapper: lookup: no answers for %s, err %v", host, errs)
return nil, errs
} else if lerr4 != nil && lerr6 != nil {
errs := errors.Join(lerr4, lerr6)
log.E("ipmapper: lookup: err %v", errs)
log.E("ipmapper: lookup: %s: err %v", host, errs)
return nil, errs
}

Expand Down

0 comments on commit bca7c34

Please sign in to comment.