]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
manycastclient bugfix.
authorHarlan Stenn <stenn@ntp.org>
Sat, 22 Sep 2001 07:07:03 +0000 (03:07 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sat, 22 Sep 2001 07:07:03 +0000 (03:07 -0400)
From:  Sydney Weinstein <syd@verne.myxa.com>

bk: 3bac3897qF-2U49g8Dc7N-mOW6SNPQ

ntpd/ntp_config.c

index 060f7f86b0e2a836286436d666c801772d38456b..e42357536746bfd82b487bd95646137a6a900c27 100644 (file)
@@ -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,