This commit is contained in:
Arthur Morgan 2021-10-13 00:49:05 +08:00
parent e6711d1b48
commit bad397bf22
2 changed files with 2 additions and 2 deletions

View file

@ -213,7 +213,7 @@ L:
case dnsmessage.TypeAAAA:
ans, err := parser.AAAAResource()
if err != nil {
newError("failed to parse A record for domain: ", ah.Name).Base(err).WriteToLog()
newError("failed to parse AAAA record for domain: ", ah.Name).Base(err).WriteToLog()
break L
}
ipRecord.IP = append(ipRecord.IP, net.IPAddress(ans.AAAA[:]))

View file

@ -38,7 +38,7 @@ func ExportIDToError(ctx context.Context) errors.ExportOption {
type Inbound struct {
// Source address of the inbound connection.
Source net.Destination
// Getaway address.
// Gateway address.
Gateway net.Destination
// Tag of the inbound proxy that handles the connection.
Tag string