From: Harlan Stenn Date: Sat, 22 Sep 2001 07:07:03 +0000 (-0400) Subject: manycastclient bugfix. X-Git-Tag: NTP_4_1_72~48^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bb29834cd931bab13c6ab76c7ecb2db1d04fde8;p=thirdparty%2Fntp.git manycastclient bugfix. From: Sydney Weinstein bk: 3bac3897qF-2U49g8Dc7N-mOW6SNPQ --- diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 060f7f86b0..e423575367 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -809,6 +809,9 @@ getconfig( "configuration of %s failed", ntoa(&peeraddr)); } + + if (tok == CONFIG_MANYCASTCLIENT) + proto_config(PROTO_MULTICAST_ADD, peeraddr.sin_addr.s_addr, 0.); } else if (errflg == -1) { save_resolve(tokens[1], hmode, peerversion,