From 4c17395deb6f8c4789232c26832068c852afd6f9 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 26 Jan 2017 11:03:06 +0000 Subject: [PATCH] - Fix 1211: Fix can't enable interface-automatic if no IPv6 with more helpful error message. git-svn-id: file:///svn/unbound/trunk@3995 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 4 ++++ services/listen_dnsport.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 50146508b..fdd237dbf 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +26 January 2017: Wouter + - Fix 1211: Fix can't enable interface-automatic if no IPv6 with + more helpful error message. + 20 January 2017: Wouter - Increase MAX_MODULE to 16. diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index 8940a78cf..daedaa194 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -1007,7 +1007,7 @@ set_recvpktinfo(int s, int family) } # else log_err("no IPV6_RECVPKTINFO and no IPV6_PKTINFO option, please " - "disable interface-automatic in config"); + "disable interface-automatic or do-ip6 in config"); return 0; # endif /* defined IPV6_RECVPKTINFO */ @@ -1028,7 +1028,7 @@ set_recvpktinfo(int s, int family) } # else log_err("no IP_SENDSRCADDR or IP_PKTINFO option, please disable " - "interface-automatic in config"); + "interface-automatic or do-ip4 in config"); return 0; # endif /* IP_PKTINFO */ -- 2.47.3