BIND 10 master, updated. 54f4650b7de4d275b29bc1d70b2cba98d59d305a [master] fixed the IPPROTO argument of one of the fetches
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 24 09:15:07 UTC 2011
The branch, master has been updated
via 54f4650b7de4d275b29bc1d70b2cba98d59d305a (commit)
from bb708b6586815ae9ac14d99b0d4bfd714f315273 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 54f4650b7de4d275b29bc1d70b2cba98d59d305a
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Feb 24 10:11:40 2011 +0100
[master] fixed the IPPROTO argument of one of the fetches
it used IPPROTO_IDP instead of IPPROTO_UDP, somehow this snuck past my review, and since IPPROTO_IDP exists, it reverted to TCP (which isn't implemented yet). The future-proof fix is to either not allow this to be passed (use a boolen use_udp or something), or raise an error on an unknown protocol.
But for now this quick fix should at least get it working again. Reviewed on jabber by stephen.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiolink/recursive_query.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/recursive_query.cc b/src/lib/asiolink/recursive_query.cc
index 5b767a8..0bdf24e 100644
--- a/src/lib/asiolink/recursive_query.cc
+++ b/src/lib/asiolink/recursive_query.cc
@@ -173,7 +173,7 @@ private:
int serverIndex = rand() % zs;
dlog("Sending query to zone server (" + question_.toText() +
") to " + zone_servers_.at(serverIndex).first);
- IOFetch query(IPPROTO_IDP, io_, question_,
+ IOFetch query(IPPROTO_UDP, io_, question_,
zone_servers_.at(serverIndex).first,
zone_servers_.at(serverIndex).second, buffer_, this,
query_timeout_);
More information about the bind10-changes
mailing list