From: Harlan Stenn Date: Wed, 3 Aug 2005 03:04:57 +0000 (-0400) Subject: Lose UDP_WILDCARD_DELIVERY X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8875dbb2e221e0acc18f56fc6631de4fceee4df0;p=thirdparty%2Fntp.git Lose UDP_WILDCARD_DELIVERY bk: 42f034599vDLq5smEJj6G0FZeTf1ZQ --- diff --git a/TODO b/TODO index c9f81faf98..e72ee7bef6 100644 --- a/TODO +++ b/TODO @@ -114,8 +114,6 @@ Problems that need to be fixed: Can we identify DomainOS with *-apollo-* ? Do we catch all Unixware machines with *-univel-sysv* ? -- How can we test if UDP_WILDCARD_DELIVERY should be used? - - Combine enable-step-slew and enable-ntpdate-step - Make sure enable-hourly-todr-sync is always disabled diff --git a/configure.ac b/configure.ac index 251f7069b3..853a7b3ffa 100644 --- a/configure.ac +++ b/configure.ac @@ -3505,66 +3505,6 @@ case "$ac_cv_var_ntpd_sim" in ;; esac -AC_CACHE_CHECK(if we want UDP wildcard delivery, ac_cv_var_udp_wildcard_delivery, -[AC_ARG_ENABLE(udp-wildcard, - AC_HELP_STRING([--enable-udp-wildcard], [s use UDP wildcard delivery]), - [ans=$enableval], - [ans=no - case "$host" in - *-fujitsu-uxp*) - ans=yes - ;; - *-univel-sysv*) - ans=yes - ;; - *-*-aix3.2*) - ans=yes - ;; - *-*-aix[[45]]*) - ans=yes - ;; - *-*-bsdi*) - ans=yes - ;; - *-*-domainos) - ans=yes - ;; - *-*-freebsd*) - ans=yes - ;; - *-*-hpux*) - ans=yes - ;; - *-*-irix6*) - ans=yes - ;; - *-*-linux*) - ans=yes - ;; - *-*-mpeix*) - ans=yes - ;; - *-*-osf*) - ans=yes - ;; - *-*-ptx*) - ans=yes - ;; - *-*-solaris2*) - ans=yes - ;; - *-*-sunos4*) - ans=yes - ;; - *-*-unicosmp*) - ans=yes - ;; - esac]) -ac_cv_var_udp_wildcard_delivery=$ans]) -case "$ac_cv_var_udp_wildcard_delivery" in - yes) AC_DEFINE(UDP_WILDCARD_DELIVERY, 1, [use UDP Wildcard Delivery?]) ;; -esac - case "$build" in $host) ;; diff --git a/include/ntp_machine.h b/include/ntp_machine.h index 0883230621..6590e10fa7 100644 --- a/include/ntp_machine.h +++ b/include/ntp_machine.h @@ -81,11 +81,6 @@ MISC RETSIGTYPE - Define signal function type. NO_SIGNED_CHAR_DECL - No "signed char" see include/ntp.h LOCK_PROCESS - Have plock. - UDP_WILDCARD_DELIVERY - - these systems deliver broadcast packets to the wildcard - port instead to a port bound to the interface bound - to the correct broadcast address - are these - implementations broken or did the spec change ? */ /* diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index 7d58ae9c0c..1ed7f877ac 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -64,7 +64,6 @@ #endif #define OPEN_BCAST_SOCKET 1 /* for ntp_io.c */ -#define UDP_WILDCARD_DELIVERY /* for ntp_io.c */ /* 98/06/01 */ #define HAVE_RANDOM #define MAXHOSTNAMELEN 64 #define AUTOKEY