From: Harlan Stenn Date: Fri, 25 Sep 2015 04:21:37 +0000 (+0000) Subject: Adding missing MCAST protection. Harlan Stenn. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10550c6b01b83bcf66b887ba3291aeb1d5d927f4;p=thirdparty%2Fntp.git Adding missing MCAST protection. Harlan Stenn. bk: 5604cbd1tA82IM8HdbKs3iRf3umLPA --- diff --git a/ChangeLog b/ChangeLog index 40125ec31..266244bf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -121,6 +121,7 @@ fixed formatting. Tomasz Flendrich * More updates for bug 2817. Harlan Stenn. * Fix bugs in tests/ntpd/ntp_prio_q.c. Harlan Stenn. * gcc on older HPUX may need +allowdups. Harlan Stenn. +* Adding missing MCAST protection. Harlan Stenn. --- (4.2.8p3) 2015/06/29 Released by Harlan Stenn diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index 114e9bbca..a714b5827 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -2022,6 +2022,7 @@ update_interfaces( if (sys_bclient) io_setbclient(); +#ifdef MCAST /* * Check multicast interfaces and try to join multicast groups if * not joined yet. @@ -2047,6 +2048,7 @@ update_interfaces( } } } +#endif /* MCAST */ return new_interface_found; }