commit 4d1d74ba3c1fe85df343e4059c80bc704eec0312
Author: Matthias Schmidt <[email protected]>
Date: Fri Jan 9 12:35:25 2009 +0100
Add IPv6 support to dntpd
This commit allows dntpd to work with either IPv4 or IPv6 NTP servers. I
added
two new command line switches (-4/-6) to force dntpd to use only v4/v6
addresses.
Thanks to sephe@ for some good hints.
Reviewed-by: sephe@
Summary of changes:
usr.sbin/dntpd/client.h | 3 +-
usr.sbin/dntpd/defs.h | 3 +-
usr.sbin/dntpd/dntpd.8 | 12 ++++++-
usr.sbin/dntpd/main.c | 44 ++++++++++++++++++++++-----
usr.sbin/dntpd/socket.c | 77 ++++++++++++++++++++++++++++------------------
5 files changed, 97 insertions(+), 42 deletions(-)
http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=4d1d74ba3c1fe85df343e4059c80bc704eec0312
--
DragonFly BSD source repository