git » spf » commit 25345a2

Correct minor debug message

author Alberto Bertogli
2021-05-09 09:04:42 UTC
committer Alberto Bertogli
2021-05-09 09:04:42 UTC
parent d29dbf32234c1c430b7ad62d876117ca73bbdfec

Correct minor debug message

One of the debug messages was displaying was using the wrong name.

spf.go +1 -1

diff --git a/spf.go b/spf.go
index 8b8c6a9..38710e2 100644
--- a/spf.go
+++ b/spf.go
@@ -652,7 +652,7 @@ func (r *resolution) aField(res Result, field, domain string) (bool, Result, err
 	for _, ip := range ips {
 		ok, err := ipMatch(r.ip, ip.IP, masks)
 		if ok {
-			trace("mx matched %v, %v, %v", r.ip, ip.IP, masks)
+			trace("a matched %v, %v, %v", r.ip, ip.IP, masks)
 			return true, res, errMatchedA
 		} else if err != nil {
 			return true, PermError, err