From bad397bf22d83e9e4f4f2c05201422f8e479b7a9 Mon Sep 17 00:00:00 2001 From: Arthur Morgan <4637240+badO1a5A90@users.noreply.github.com> Date: Wed, 13 Oct 2021 00:49:05 +0800 Subject: [PATCH] fix typo --- app/dns/dnscommon.go | 2 +- common/session/session.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dns/dnscommon.go b/app/dns/dnscommon.go index 0d465713..bead44b7 100644 --- a/app/dns/dnscommon.go +++ b/app/dns/dnscommon.go @@ -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[:])) diff --git a/common/session/session.go b/common/session/session.go index 4744adeb..832eb960 100644 --- a/common/session/session.go +++ b/common/session/session.go @@ -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