Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
ntp
ntp-stable-4.2.0a-20050816-loconly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntp-stable-4.2.0a-20050816-loconly.patch of Package ntp
diff -ru ntpd-using_wrong_group//ntpd/ntp_proto.c ntp-stable-4.2.0a-20050816-loconly//ntpd/ntp_proto.c --- ntpd-using_wrong_group//ntpd/ntp_proto.c 2008-09-25 17:18:45.000000000 +0200 +++ ntp-stable-4.2.0a-20050816-loconly//ntpd/ntp_proto.c 2008-09-25 17:22:15.000000000 +0200 @@ -2870,6 +2870,12 @@ xpkt.li_vn_mode = PKT_LI_VN_MODE(sys_leap, PKT_VERSION(rpkt->li_vn_mode), xmode); xpkt.stratum = STRATUM_TO_PKT(sys_stratum); + if (xpkt.stratum == 0 && sys_peer == NULL) { + sys_leap = LEAP_NOWARNING; + xpkt.li_vn_mode = PKT_LI_VN_MODE (sys_leap, PKT_VERSION (rpkt ->li_vn_mode), xmode); + get_systime (&sys_reftime); + xpkt.stratum = 1; + } xpkt.refid = sys_refid; xpkt.rootdelay = HTONS_FP(DTOFP(sys_rootdelay)); xpkt.rootdispersion = Nur in ntp-stable-4.2.0a-20050816-loconly//ntpd: ntp_proto.c.orig.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor