Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17336

Summary: patch for ntp-4.1.1b-r5
Product: Gentoo Linux Reporter: Gregorio Guidi (RETIRED) <greg_g>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gregorio Guidi (RETIRED) gentoo-dev 2003-03-11 20:00:41 UTC
ntp client in "broadcastclient" mode is broken. 
please consider adding this patch to the ntp source tree: 
 
for more infos about this longstanding bug you can search 
groups.google.com for "ntp broadcastclient" 
 
Thanks. 
 
--- ntpd/ntp_proto.c~   2002-01-17 22:27:47.000000000 +0100 
+++ ntpd/ntp_proto.c    2003-03-12 01:09:25.000000000 +0100 
@@ -352,8 +352,9 @@ 
         * or if not enabled as broadcast client. 
         */ 
        if (PKT_MODE(pkt->li_vn_mode) == MODE_BROADCAST && 
-           (rbufp->dstadr == any_interface || !sys_bclient)) 
+           (!sys_bclient)) { 
                return; 
+       } 
 
        /* 
         * Parse the extension field if present. We figure out whether
Comment 1 SpanKY gentoo-dev 2003-08-06 00:48:26 UTC
rgr doger, if it's good enough for debian it's good enough for me :)

now in 4.1.2