From 348bd85500f5cb5dc4b239e98d9459dbe71f96bc Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 24 Nov 2012 09:28:10 -0800 Subject: make rare DNS errors non-fatal --- tools/sepofra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/sepofra.c') diff --git a/tools/sepofra.c b/tools/sepofra.c index 69575c4..56d02a9 100644 --- a/tools/sepofra.c +++ b/tools/sepofra.c @@ -91,7 +91,8 @@ void sepofra::check( break; } - if ( SPF_request_set_ipv4_str( spf_request, opt_ip.c_str() ) ) { + if ( SPF_request_set_ipv4_str( spf_request, opt_ip.c_str() ) + && SPF_request_set_ipv6_str( spf_request, opt_ip.c_str() ) ) { cerr << "Invalid IP address: " << opt_ip << endl; break; } -- cgit v1.2.3