Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/ntp/ntpd don't join a multicast group where we just wan...
details: https://anonhg.NetBSD.org/src/rev/f09d17685477
branches: trunk
changeset: 555927:f09d17685477
user: drochner <drochner%NetBSD.org@localhost>
date: Thu Dec 04 17:01:32 2003 +0000
description:
don't join a multicast group where we just want to send
(this might be preliminary, it might be intended to receive other host's
multicast in the future, but until packets are filtered properly this
fixes the "manycastclient answers requests" problem - see ntp bug #241)
diffstat:
dist/ntp/ntpd/ntp_config.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (20 lines):
diff -r f02404c4168b -r f09d17685477 dist/ntp/ntpd/ntp_config.c
--- a/dist/ntp/ntpd/ntp_config.c Thu Dec 04 16:56:01 2003 +0000
+++ b/dist/ntp/ntpd/ntp_config.c Thu Dec 04 17:01:32 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntp_config.c,v 1.6 2003/12/04 16:23:37 drochner Exp $ */
+/* $NetBSD: ntp_config.c,v 1.7 2003/12/04 17:01:32 drochner Exp $ */
/*
* ntp_config.c - read and apply configuration information
@@ -823,10 +823,6 @@
"configuration of %s failed",
stoa(&peeraddr));
}
- if (tok == CONFIG_MANYCASTCLIENT)
- proto_config(PROTO_MULTICAST_ADD,
- 0, 0., &peeraddr);
-
} else if (errflg == -1) {
save_resolve(tokens[1], hmode, peerversion,
minpoll, maxpoll, peerflags, ttl,
Home |
Main Index |
Thread Index |
Old Index