summaryrefslogtreecommitdiff
path: root/src/spf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spf.c')
-rw-r--r--src/spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spf.c b/src/spf.c
index 29da3df..18d86a3 100644
--- a/src/spf.c
+++ b/src/spf.c
@@ -73,7 +73,7 @@ int spf_query(
break;
case 0:
if (!ip4_scan(remoteip, ip4remote)) return SPF_SYNTAX;
- if (ipme_is4(ip4remote) == 1) {
+ if (ipme_is4((struct ip4_address *)ip4remote) == 1) {
if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM;
if (!spf_info("R:", "+")) return SPF_NOMEM;
return SPF_ME;
@@ -81,7 +81,7 @@ int spf_query(
break;
case 1:
if (!ip6_scan(remoteip, ip6remote)) return SPF_SYNTAX;
- if (ipme_is6(ip6remote) == 1) {
+ if (ipme_is6((struct ip6_address *)ip6remote) == 1) {
if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM;
if (!spf_info("R:", "+")) return SPF_NOMEM;
return SPF_ME;