Browse Source

fix a typo

pull/1343/head
Wuxiang 6 years ago committed by GitHub
parent
commit
3a4371ad21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/dns/server.go

2
app/dns/server.go

@ -81,7 +81,7 @@ func New(ctx context.Context, config *Config) (*Server, error) {
for _, domain := range ns.PrioritizedDomain {
matcher, err := toStrMatcher(domain.Type, domain.Domain)
if err != nil {
return nil, newError("failed to create proritized domain").Base(err).AtWarning()
return nil, newError("failed to create prioritized domain").Base(err).AtWarning()
}
midx := domainMatcher.Add(matcher)
domainIndexMap[midx] = uint32(idx)

Loading…
Cancel
Save