]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Cleanup from Dave.
authorHarlan Stenn <stenn@ntp.org>
Wed, 10 Jul 2002 02:06:17 +0000 (22:06 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 10 Jul 2002 02:06:17 +0000 (22:06 -0400)
bk: 3d2b9699BaQQ0WGUkhhmsQl0QeNSmA

ntpd/ntp_config.c

index eaa5b5212daa19c9c9700f0d382b46b32a88fbc6..61ed88f6228a5ca54c6b0b1fbd9c5e040d5b69ec 100644 (file)
@@ -98,7 +98,6 @@ struct keyword {
  * Command keywords
  */
 static struct keyword keywords[] = {
-       { "authenticate",       CONFIG_AUTHENTICATE },
        { "automax",            CONFIG_AUTOMAX },
        { "broadcast",          CONFIG_BROADCAST },
        { "broadcastclient",    CONFIG_BROADCASTCLIENT },
@@ -937,24 +936,6 @@ getconfig(
                                sys_manycastserver = 1;
                        break;
 
-                   case CONFIG_AUTHENTICATE:
-                       errflg = 0;
-                       if (ntokens >= 2) {
-                               if (STREQ(tokens[1], "yes"))
-                                   proto_config(PROTO_AUTHENTICATE, 1, 0.);
-                               else if (STREQ(tokens[1], "no"))
-                                   proto_config(PROTO_AUTHENTICATE, 0, 0.);
-                               else
-                                   errflg++;
-                       } else {
-                               errflg++;
-                       }
-
-                       if (errflg)
-                           msyslog(LOG_ERR,
-                                   "should be `authenticate yes|no'");
-                       break;
-
                    case CONFIG_KEYS:
                        if (ntokens >= 2) {
                                getauthkeys(tokens[1]);