[ntp:hackers] Why does multicast client bind the subnet wildcard address?

brian utterback brian.utterback at oracle.com
Thu Dec 10 17:55:01 UTC 2015


The fix for "[Bug 2713] variable type/cast, parameter name, general
cleanup from NetBSD" added this bit of code to ntp_io.c:

@@ -1969,6 +2006,9 @@
     if (broadcast_client_enabled)
         io_setbclient();
 
+    if (sys_bclient)
+        io_setbclient();
+
     return new_interface_found;
 }
 

This causes ntp-4.2.8p1 to bind to the subnet broadcast address when it
previously did not. The synopsis of the bug does not reflect anything
that would suggest this change. Does anyone know why this was added? Did
something not work correctly before?

-- 
Oracle <http://www.oracle.com>
Brian Utterback | Principle Software Engineer
Phone: +1 6038973049 <tel:+1%206038973049>
Oracle Systems/RPE Solaris Network
1 Oracle Dr. | Nashua, NH 03062
------------------------------------------------------------------------
All working systems eventually start to exhibit their own agenda
------------------------------------------------------------------------
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment


More information about the hackers mailing list