]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Adding missing MCAST protection. Harlan Stenn.
authorHarlan Stenn <stenn@ntp.org>
Fri, 25 Sep 2015 04:21:37 +0000 (04:21 +0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 25 Sep 2015 04:21:37 +0000 (04:21 +0000)
bk: 5604cbd1tA82IM8HdbKs3iRf3umLPA

ChangeLog
ntpd/ntp_io.c

index 40125ec31ee7cfb4136bc9f3b5c10a15a460aac7..266244bf2fd850831895852799484ab0e97c5865 100644 (file)
--- 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 <stenn@ntp.org>
 
index 114e9bbca6043313c148ac0149e5349c222d882e..a714b58274c37c7c82b2a79fdc3cae90fe77d978 100644 (file)
@@ -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;
 }