From: Wouter Wijngaards Date: Tue, 24 Jul 2007 16:26:40 +0000 (+0000) Subject: addr. X-Git-Tag: release-0.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84a11521090ffae276913bff7ef626adbb0b36be;p=thirdparty%2Funbound.git addr. git-svn-id: file:///svn/unbound/trunk@449 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index ad83b52a2..943b5bbd8 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 24 July 2007: Wouter - Example section in config manual. + - Addr stored for range and moment in replay. 20 July 2007: Wouter - Check CNAME chain before returning cache entry with CNAMEs. diff --git a/testcode/replay.h b/testcode/replay.h index 9c101490a..62f31cfb1 100644 --- a/testcode/replay.h +++ b/testcode/replay.h @@ -158,6 +158,11 @@ struct replay_moment { /** The sent packet must match this. Incoming events, the data. */ struct entry* match; + /** address that must be matched, or packet remote host address. */ + struct sockaddr_storage addr; + /** length of addr, if 0, then any address will do */ + socklen_t addrlen; + /** what pending query should timeout or is answered. or * NULL for last sent query. * Unused at this time. @@ -173,6 +178,10 @@ struct replay_range { int start_step; /** end step of time range. */ int end_step; + /** address of where this range is served. */ + struct sockaddr_storage addr; + /** length of addr, if 0, then any address will do */ + socklen_t addrlen; /** Matching list */ struct entry* match;