author | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-09-09 23:17:14 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2020-09-09 23:17:22 UTC |
parent | 842a94cf3853218e096baba816c26fbfb2c34192 |
spf.go | +3 | -0 |
diff --git a/spf.go b/spf.go index a173835..ef4a27c 100644 --- a/spf.go +++ b/spf.go @@ -110,7 +110,10 @@ var ( // Because it doesn't receive enough information to handle macros well, its // usage is not recommended, but remains supported for backwards // compatibility. +// // Reference: https://tools.ietf.org/html/rfc7208#section-4 +// +// Deprecated: use CheckHostWithSender instead. func CheckHost(ip net.IP, domain string) (Result, error) { trace("check host %q %q", ip, domain) r := &resolution{ip, 0, "@" + domain, nil}