Bug 123703 - [patch] timed(8): qualify bad diagnostic in src/usr.sbin/timed/timedc/cmds.c
Summary: [patch] timed(8): qualify bad diagnostic in src/usr.sbin/timed/timedc/cmds.c
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 15:20 UTC by jhs
Modified: 2017-12-31 22:37 UTC (History)
0 users

See Also:


Attachments
file.diff (403 bytes, patch)
2008-05-15 15:20 UTC, jhs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jhs 2008-05-15 15:20:01 UTC
	qualify bad diagnostic in src/usr.sbin/timed/timedc/cmds.c

Fix: Copy appended of 
http://berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.sbin/timed/timed/cmds.c.diff.REL=ALL

Before this patch if the remote master was killed, the local slave lied & said
	communication error with localhost
With this patch the code at least no longer lies.

Patch is hack, 
I would like to read the code & do better, but I dont have time.

the code has not been unchanged for over 4 years 
this diff also applies to 7.0-RELEASE
How-To-Repeat: 	get remote host as timed master,
	localhost as timed slave,
	then kill remote
	& see local lieing.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:24 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped