]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix comment item. 367/head
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Feb 2021 07:50:02 +0000 (08:50 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 25 Feb 2021 07:50:02 +0000 (08:50 +0100)
services/outside_network.c

index dbe6121f2fbfd1fe6c085f5a53b9ce9c1b97fb97..89ccb70ad1b9977698717d52b7d0827473f7f5db 100644 (file)
@@ -1942,9 +1942,10 @@ randomize_and_send_udp(struct pending* pend, sldns_buffer* packet, int timeout)
 #ifdef USE_DNSTAP
        /*
         * sending src (local service)/dst (upstream) addresses over DNSTAP
-        * TODO: right now there are no chances to get the src (local service) addr. So we will pass 0.0.0.0 (::)
-        * to argument for dt_msg_send_outside_query()/dt_msg_send_outside_response() calls.
-        * For the both UDP and TCP.
+        * There are no chances to get the src (local service) addr if unbound
+        * is not configured with specific outgoing IP-addresses. So we will
+        * pass 0.0.0.0 (::) to argument for
+        * dt_msg_send_outside_query()/dt_msg_send_outside_response() calls.
         */
        if(outnet->dtenv &&
           (outnet->dtenv->log_resolver_query_messages ||