]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
addr.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 24 Jul 2007 16:26:40 +0000 (16:26 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 24 Jul 2007 16:26:40 +0000 (16:26 +0000)
git-svn-id: file:///svn/unbound/trunk@449 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testcode/replay.h

index ad83b52a2c8dc83278c748b5b3284dabe066335f..943b5bbd8e95c1e252573e59d3ca3c921b11bec8 100644 (file)
@@ -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.
index 9c101490a886f5463f58595a96932007a73b8026..62f31cfb169e4ecc784d6a7bca2289df6542f09a 100644 (file)
@@ -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;