Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17336 - patch for ntp-4.1.1b-r5
Summary: patch for ntp-4.1.1b-r5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-11 20:00 UTC by Gregorio Guidi (RETIRED)
Modified: 2003-08-06 00:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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