]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3827] Ping check now routes pings
authorThomas Markwalder <tmark@isc.org>
Mon, 2 Jun 2025 18:41:28 +0000 (14:41 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 5 Jun 2025 13:50:19 +0000 (13:50 +0000)
Changes to be committed:
    new file:   3827-ping_check-hook-refuses-to-route-purposely
    modified:   ../src/hooks/dhcp/ping_check/icmp_socket.h

changelog_unreleased/3827-ping_check-hook-refuses-to-route-purposely [new file with mode: 0644]
src/hooks/dhcp/ping_check/icmp_socket.h

diff --git a/changelog_unreleased/3827-ping_check-hook-refuses-to-route-purposely b/changelog_unreleased/3827-ping_check-hook-refuses-to-route-purposely
new file mode 100644 (file)
index 0000000..8fd0874
--- /dev/null
@@ -0,0 +1,6 @@
+[bug]          tmark
+       Ping check hook library will now route
+       pings across relays. Prior to this it
+       only sent pings to directly connected
+       networks.
+       (Gitlab #3827)
index 091057d749844176384eb61ff3bfcf49b50e2ab0..26bd8d25a948f991a2336f657cd06e7fefc24a75 100644 (file)
@@ -233,7 +233,7 @@ ICMPSocket<C>::open(const asiolink::IOEndpoint* endpoint, C&) {
             socket_.set_option(rcv_size);
         }
 
-        boost::asio::socket_base::do_not_route option(true);
+        boost::asio::socket_base::do_not_route option(false);
         socket_.set_option(option);
     }
 }