[ntp:bk-ntp-dev-send] BitKeeper diffs

Harlan Stenn stenn at whimsy.udel.edu
Sat Aug 4 20:53:30 UTC 2007


#### ChangeSet ####
2007-08-04 16:51:04-04:00, stenn at whimsy.udel.edu 
  [Bug 850] Fix the wander threshold parameter on the driftfile command

==== ChangeLog ====
2007-08-04 16:50:34-04:00, stenn at whimsy.udel.edu +1 -0
  [Bug 850] Fix the wander threshold parameter on the driftfile command

--- 1.91/ChangeLog	2007-07-29 15:44:07 -04:00
+++ 1.92/ChangeLog	2007-08-04 16:50:34 -04:00
@@ -1,3 +1,4 @@
+* [Bug 850] Fix the wander threshold parameter on the driftfile command.
 * ntp_io.c: Dead code cleanup - Coverity View 19.
 * Leap file related cleanup from Dave Mills.
 * ntp_peer.c: Set peer->srcadr before (not after) calling set_peerdstadr().

==== ntpd/ntp_parser.c ====
2007-08-04 16:50:36-04:00, stenn at whimsy.udel.edu +142 -152
  [Bug 850] Fix the wander threshold parameter on the driftfile command

--- 1.15/ntpd/ntp_parser.c	2007-07-24 01:50:41 -04:00
+++ 1.16/ntpd/ntp_parser.c	2007-08-04 16:50:36 -04:00
@@ -1,4 +1,4 @@
-/* A Bison parser, made from /deacon/backroom/ntp-dev/A.whimsy/ntpd/../../ntpd/ntp_parser.y
+/* A Bison parser, made from /backroom/ntp-dev/A.whimsy/ntpd/../../ntpd/ntp_parser.y
    by GNU bison 1.35.  */
 
 #define YYBISON 1  /* Identify Bison output.  */
@@ -367,7 +367,7 @@ static const short yyrhs[] =
      207,     0,    30,   196,     0,    62,   126,     0,   104,   126,
        0,    66,   126,     0,     7,    54,     0,    65,   200,     0,
      102,   204,     0,   118,   197,     0,   133,   165,   198,     0,
-     136,   203,     0,   126,     0,   126,    54,     0,     0,   126,
+     136,   203,     0,   126,     0,   126,   207,     0,     0,   126,
      154,   126,    25,     0,   126,   154,   126,     0,   198,   199,
        0,   199,     0,   106,    54,     0,    55,   165,     0,   200,
      201,     0,   201,     0,   202,   126,     0,   126,     0,   155,
@@ -587,178 +587,168 @@ static const short yydefgoto[] =
 
 static const short yypact[] =
 {
-      25,  -113,   -19,    -9,-32768,   -55,   -10,    -6,     8,   364,
-      54,    -3,   -62,    54,-32768,   154,   -41,   -56,   -53,   -50,
-     -49,    29,   -46,-32768,   -41,   -41,-32768,   -45,   -40,-32768,
-      34,    18,    35,-32768,   -33,   154,    -2,   -10,    14,   423,
-     -25,    42,    42,-32768,   203,   -32,-32768,   -41,-32768,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   -34,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,     0,    20,
-      26,    28,    33,    36,    40,    44,    50,    62,   364,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,    54,-32768,    63,
-      97,   138,    -3,-32768,   140,-32768,    54,-32768,-32768,-32768,
-  -32768,-32768,-32768,   -15,-32768,-32768,    70,-32768,    61,-32768,
-     337,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    29,-32768,
-      76,-32768,-32768,   -41,   -41,-32768,    78,-32768,-32768,-32768,
-  -32768,   136,-32768,    57,-32768,   154,-32768,-32768,-32768,   -10,
-     -10,   -10,   -10,   -10,   -10,   -10,    14,-32768,   158,   159,
-     -20,   163,   -10,   -10,   164,   -10,   -10,   166,   172,   423,
-  -32768,   -39,-32768,   173,   173,    85,-32768,   114,  -118,-32768,
+      26,  -132,   -26,   -14,-32768,   -51,   -11,    14,    19,   156,
+      15,    -4,   -39,    15,-32768,     0,   -32,   -36,   -27,   -17,
+      -6,  -105,    -3,-32768,   -32,   -32,-32768,    -1,     3,-32768,
+      35,    29,    46,-32768,     6,     0,     8,   -11,   135,   351,
+     -22,    70,    70,-32768,   203,   -82,-32768,   -32,-32768,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   -20,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    12,    21,
+      25,    27,    30,    40,    42,    45,    47,    49,   156,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,    15,-32768,    79,
+      91,    98,    -4,-32768,   -11,-32768,    15,-32768,-32768,-32768,
+  -32768,-32768,-32768,   -23,-32768,-32768,    50,-32768,   151,-32768,
+     337,-32768,-32768,-32768,-32768,-32768,-32768,-32768,  -105,-32768,
+      52,-32768,-32768,   -32,   -32,-32768,    53,-32768,-32768,-32768,
+  -32768,    89,-32768,    18,-32768,     0,-32768,-32768,-32768,   -11,
+     -11,   -11,   -11,   -11,   -11,   -11,   135,-32768,   126,   144,
+       1,   145,   -11,   -11,   157,   -11,   -11,   159,   164,   351,
+  -32768,   -24,-32768,   167,   167,    83,-32768,   369,   -65,-32768,
   -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   105,-32768,
-  -32768,     9,   -15,-32768,-32768,   -20,   -20,   -20,   -20,   106,
-     180,   -10,   -10,    61,-32768,-32768,-32768,-32768,-32768,-32768,
-     419,   419,   -25,   111,-32768,-32768,-32768,-32768,-32768,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,    96,-32768,
+  -32768,    10,   -23,-32768,-32768,     1,     1,     1,     1,   101,
+     177,   -11,   -11,   151,-32768,-32768,-32768,-32768,-32768,-32768,
+     160,   160,   -22,   106,-32768,-32768,-32768,-32768,-32768,-32768,
   -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   -25,   184,
-     -39,-32768,-32768,-32768,-32768,-32768,-32768,   186,   187,   188,
-     189,-32768,-32768,-32768,-32768,   190,   191,   114,-32768,    93,
-      95,   -92,   108,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,   -22,   183,
+     -24,-32768,-32768,-32768,-32768,-32768,-32768,   184,   186,   188,
+     189,-32768,-32768,-32768,-32768,   190,   191,   369,-32768,    94,
+      97,   -81,   112,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
   -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
   -32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,   228,-32768,-32768,-32768,
-  -32768,-32768,-32768,-32768,-32768,-32768,-32768,   -10,   -10,   100,
-     115,  -108,-32768,   102,-32768,   419,-32768,-32768,-32768,   -44,
-  -32768,-32768,-32768,   110,-32768,-32768,-32768,   109,   112,   -10,
-     113,  -119,-32768,   121,   -10,-32768,-32768,-32768,   117,   -18,
-     122,   123,   124,   128,   129,    48,   132,   -10,   -10,   -10,
-     -10,   -10,-32768,   141,-32768,-32768,-32768,-32768,-32768,-32768,
-  -32768,   285,   286,-32768
+  -32768,-32768,-32768,-32768,-32768,-32768,   235,-32768,-32768,-32768,
+  -32768,-32768,-32768,-32768,-32768,-32768,-32768,   -11,   -11,   109,
+     131,  -112,-32768,   120,-32768,   160,-32768,-32768,-32768,   -40,
+  -32768,-32768,-32768,   132,-32768,-32768,-32768,   124,   134,   -11,
+     129,   -88,-32768,   141,   -11,-32768,-32768,-32768,   128,    44,
+     136,   137,   139,   140,   142,    34,   143,   -11,   -11,   -11,
+     -11,   -11,-32768,   152,-32768,-32768,-32768,-32768,-32768,-32768,
+  -32768,   288,   299,-32768
 };
 
 static const short yypgoto[] =
 {
-  -32768,-32768,   -36,-32768,-32768,   156,   -30,-32768,    31,-32768,
-  -32768,-32768,   212,-32768,-32768,   134,-32768,-32768,   -14,-32768,
-      99,-32768,-32768,  -128,-32768,-32768,   202,-32768,-32768,    92,
-  -32768,   283,   -72,-32768,-32768,   152,-32768,-32768,-32768,-32768,
-      59,-32768,   182,-32768,   259,-32768,   277,   -17,   -37,-32768,
-  -32768,-32768,    43,-32768,    -5,-32768,-32768,-32768,-32768,   -22,
-  -32768,   -29
+  -32768,-32768,   -38,-32768,-32768,    -2,   -30,-32768,    43,-32768,
+  -32768,-32768,   223,-32768,-32768,   147,-32768,-32768,   -18,-32768,
+     110,-32768,-32768,  -128,-32768,-32768,   212,-32768,-32768,   113,
+  -32768,   296,   -21,-32768,-32768,   169,-32768,-32768,-32768,-32768,
+      82,-32768,   206,-32768,   284,-32768,   302,     7,   -37,-32768,
+  -32768,-32768,    67,-32768,    22,-32768,-32768,-32768,-32768,     9,
+  -32768,   -16
 };
 
 
-#define	YYLAST		557
+#define	YYLAST		507
 
 
 static const short yytable[] =
 {
-     138,   131,   211,   104,   105,    89,   104,   105,   165,   309,
-     161,   186,   264,   106,   225,   180,   238,   187,   139,    63,
-     188,   136,   104,   105,   180,   309,     1,   259,   260,   330,
-      59,     2,     3,   265,   226,    60,     4,     5,     6,   335,
-      62,     7,   140,   129,    64,    61,     8,     9,    66,   189,
-     321,    10,    11,   259,   260,    12,   141,    13,    14,    80,
-     142,    15,    67,    81,    94,   104,   105,   239,    16,    82,
-     110,   190,   106,   111,   205,    90,   112,   113,    17,    91,
-     121,   125,   324,    18,    19,   107,   127,    20,   128,   132,
-      21,    22,   266,   133,    23,    24,   162,   267,   195,   196,
-     197,   198,   215,   216,   217,   218,   219,   220,   221,    25,
-      83,   166,   268,   143,   227,   230,   231,   181,   233,   234,
-     244,   214,   191,   168,   137,    26,   169,    27,   245,    28,
-      29,   340,   341,   342,   343,   344,    84,   144,   145,    30,
-      31,    32,    33,    34,   107,    35,   170,    36,   269,   270,
-      85,   182,   171,    37,   172,   114,    38,    39,    40,   173,
-      41,    42,   174,   246,   279,   280,   175,   315,    -5,    43,
-     176,   247,   108,    97,   199,    86,   177,    98,   273,   274,
-     275,   276,   295,   115,   116,   117,   200,   130,   178,   248,
-     201,   202,   183,   249,   185,   250,   194,   340,   341,   342,
-     343,   344,   207,   167,   209,   251,   352,   212,   297,     2,
-       3,   213,   223,   224,     4,     5,     6,   229,   232,     7,
-     235,    99,   252,   253,     8,     9,   236,   242,   243,    10,
-      11,   263,   277,    12,   278,    13,    14,   296,   298,    15,
-     300,   301,   302,   303,   304,   305,    16,   307,   254,   308,
-     255,   314,   256,   316,   319,   100,    17,   327,   320,   323,
-     330,    18,    19,   329,   337,    20,   101,   334,    21,    22,
-     317,   318,    23,    24,   339,   354,   347,   348,   349,   208,
-     208,   102,   350,   351,   360,   362,   363,    25,   306,   325,
-     179,   272,   333,   237,   184,   281,    96,   338,   222,   299,
-     206,   164,   124,    26,   310,    27,   322,    28,    29,   336,
-     355,   356,   357,   358,   359,     0,   353,    30,    31,    32,
-      33,    34,     0,    35,     0,    36,     0,     0,     0,     0,
-       0,    37,     0,     0,    38,    39,    40,     0,    41,    42,
-       0,     0,     0,     2,     3,     0,    -5,    43,     4,     5,
+     138,   131,   211,   186,    89,   309,   165,   104,   105,   187,
+     161,    59,   188,   264,   108,   104,   105,   136,    63,    97,
+      80,   114,   106,    98,    81,   104,   105,     1,    60,   130,
+      82,   238,     2,     3,   265,   225,   309,     4,     5,     6,
+      61,   189,     7,    64,    62,   167,   321,     8,     9,   115,
+     116,   117,    10,    11,   129,   226,    12,   185,    13,    14,
+     330,   166,    15,   190,   259,   260,   180,    99,    66,    16,
+     335,    83,   205,    67,    90,   180,   104,   105,    91,    17,
+     259,   260,   239,   106,    18,    19,   324,    94,    20,   128,
+     110,    21,    22,   266,   107,    23,    24,    84,   267,   111,
+     132,   100,   215,   216,   217,   218,   219,   220,   221,   112,
+      25,    85,   101,   268,   191,   230,   231,   214,   233,   234,
+     113,   208,   208,   121,   162,   125,    26,   102,    27,   127,
+      28,    29,   133,   181,   137,   227,    86,   168,   169,   139,
+      30,    31,    32,    33,    34,   182,    35,   170,    36,   269,
+     270,   171,   183,   172,    37,   107,   173,    38,    39,    40,
+     212,    41,    42,   140,   279,   280,   174,   315,   175,    -5,
+      43,   176,   213,   177,    68,   178,   194,   141,   207,   209,
+     223,   142,   295,   340,   341,   342,   343,   344,   195,   196,
+     197,   198,   352,   340,   341,   342,   343,   344,   224,   229,
+      69,    70,   273,   274,   275,   276,    71,    72,   297,     2,
+       3,   232,   282,   235,     4,     5,     6,    73,   236,     7,
+     283,   242,   263,   284,     8,     9,   243,   277,   285,    10,
+      11,   278,   296,    12,   143,    13,    14,   298,   300,    15,
+     301,    74,   302,   303,   304,   305,    16,   286,   307,   287,
+     288,   308,   289,   290,   291,   314,    17,   292,   144,   145,
+     316,    18,    19,   319,   199,    20,    75,    76,    21,    22,
+     317,   318,    23,    24,   320,    77,   200,   323,   329,   327,
+     201,   202,   330,   334,   337,   339,   354,    25,   362,   325,
+     347,   348,   333,   349,   350,   360,   351,   338,   293,   363,
+     306,   179,   272,    26,   184,    27,   237,    28,    29,    96,
+     355,   356,   357,   358,   359,   222,   281,    30,    31,    32,
+      33,    34,   299,    35,   206,    36,   164,   124,   310,   353,
+       0,    37,     0,   322,    38,    39,    40,     0,    41,    42,
+     336,     0,     0,     2,     3,     0,    -5,    43,     4,     5,
        6,     0,     0,     7,     0,     0,     0,     0,     8,     9,
-       0,     0,     0,    10,    11,     0,     0,    12,     0,    13,
-      14,     0,     0,    15,     0,     0,     0,     0,     0,     0,
-      16,     0,    68,     0,     0,     0,     0,     0,     0,     0,
-      17,     0,     0,     0,     0,    18,    19,     0,     0,    20,
-       0,     0,    21,    22,     0,     0,    23,    24,    69,    70,
-       0,     0,     0,     0,    71,    72,     0,     0,     0,     0,
-       0,    25,     0,     0,     0,    73,     0,     0,     0,     0,
-       0,     0,     0,   148,     0,     0,     0,    26,     0,    27,
-     149,    28,    29,   150,     0,     0,     0,     0,     0,    74,
-       0,    30,    31,    32,    33,    34,     0,    35,     0,    36,
-       0,     0,     0,     0,   151,    37,     0,     0,    38,    39,
-      40,   282,    41,    42,    75,    76,     0,     0,     0,   283,
-       0,    43,   284,    77,     0,     0,     0,   285,     0,     0,
-       0,     0,     0,     0,     0,   152,   153,   154,     0,   155,
-     156,     0,     0,   157,     0,     0,   286,     0,   287,   288,
-       0,   289,   290,   291,     0,     0,   292,     0,     0,     0,
-       0,   158,     0,     0,     0,     0,     0,     0,     0,     0,
+       0,   148,     0,    10,    11,     0,     0,    12,   149,    13,
+      14,   150,     0,    15,     0,   244,     0,     0,     0,     0,
+      16,     0,     0,   245,     0,     0,     0,     0,     0,     0,
+      17,     0,   151,     0,     0,    18,    19,     0,     0,    20,
+       0,     0,    21,    22,     0,     0,    23,    24,     0,     0,
+       0,     0,     0,     0,     0,     0,     0,     0,   246,     0,
+       0,    25,     0,   152,   153,   154,   247,   155,   156,     0,
+       0,   157,     0,     0,     0,     0,     0,    26,     0,    27,
+       0,    28,    29,     0,   248,     0,     0,     0,   249,   158,
+     250,    30,    31,    32,    33,    34,     0,    35,     0,    36,
+     251,     0,     0,     0,     0,    37,     0,     0,    38,    39,
+      40,     0,    41,    42,     0,     0,     0,   252,   253,     0,
+       0,    43,     0,     0,     0,     0,     0,     0,     0,     0,
        0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
-       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
-       0,     0,     0,     0,     0,     0,     0,   293
+       0,     0,     0,   254,     0,   255,     0,   256
 };
 
 static const short yycheck[] =
 {
-      37,    31,   130,    47,    48,     8,    47,    48,    44,   117,
-      40,    26,     3,    54,    34,    87,    55,    32,     4,    29,
-      35,    35,    47,    48,    96,   117,     1,   145,   146,   148,
-     143,     6,     7,    24,    54,    54,    11,    12,    13,   158,
-      95,    16,    28,    25,    54,    54,    21,    22,    54,    64,
-     158,    26,    27,   145,   146,    30,    42,    32,    33,     5,
-      46,    36,    54,     9,   126,    47,    48,   106,    43,    15,
-     126,    86,    54,   126,   110,    78,   126,   126,    53,    82,
-     126,   126,   126,    58,    59,   126,   126,    62,    54,    54,
-      65,    66,    83,   126,    69,    70,    54,    88,    37,    38,
-      39,    40,   139,   140,   141,   142,   143,   144,   145,    84,
-      56,   143,   103,    99,   134,   152,   153,    54,   155,   156,
-       6,   135,   137,   157,   126,   100,   126,   102,    14,   104,
-     105,   149,   150,   151,   152,   153,    82,   123,   124,   114,
-     115,   116,   117,   118,   126,   120,   126,   122,   139,   140,
-      96,    54,   126,   128,   126,   126,   131,   132,   133,   126,
-     135,   136,   126,    49,   201,   202,   126,   295,   143,   144,
-     126,    57,    16,    19,   113,   121,   126,    23,   195,   196,
-     197,   198,   212,   154,   155,   156,   125,    31,   126,    75,
-     129,   130,    54,    79,    54,    81,   126,   149,   150,   151,
-     152,   153,   126,    47,   126,    91,   158,    71,   238,     6,
-       7,   154,    54,    54,    11,    12,    13,    54,    54,    16,
-      54,    67,   108,   109,    21,    22,    54,    54,   143,    26,
-      27,   126,   126,    30,    54,    32,    33,   126,    54,    36,
-      54,    54,    54,    54,    54,    54,    43,   154,   134,   154,
-     136,   143,   138,    25,   154,   101,    53,   147,   143,   157,
-     148,    58,    59,   154,   143,    62,   112,   154,    65,    66,
-     307,   308,    69,    70,   157,   143,   154,   154,   154,   123,
-     124,   127,   154,   154,   143,     0,     0,    84,   257,   319,
-      78,   192,   329,   159,    92,   203,    13,   334,   146,   240,
-     118,    42,    25,   100,   261,   102,   311,   104,   105,   331,
-     347,   348,   349,   350,   351,    -1,   345,   114,   115,   116,
-     117,   118,    -1,   120,    -1,   122,    -1,    -1,    -1,    -1,
-      -1,   128,    -1,    -1,   131,   132,   133,    -1,   135,   136,
-      -1,    -1,    -1,     6,     7,    -1,   143,   144,    11,    12,
+      37,    31,   130,    26,     8,   117,    44,    47,    48,    32,
+      40,   143,    35,     3,    16,    47,    48,    35,    29,    19,
+       5,   126,    54,    23,     9,    47,    48,     1,    54,    31,
+      15,    55,     6,     7,    24,    34,   117,    11,    12,    13,
+      54,    64,    16,    54,    95,    47,   158,    21,    22,   154,
+     155,   156,    26,    27,    25,    54,    30,    94,    32,    33,
+     148,   143,    36,    86,   145,   146,    87,    67,    54,    43,
+     158,    56,   110,    54,    78,    96,    47,    48,    82,    53,
+     145,   146,   106,    54,    58,    59,   126,   126,    62,    54,
+     126,    65,    66,    83,   126,    69,    70,    82,    88,   126,
+      54,   101,   139,   140,   141,   142,   143,   144,   145,   126,
+      84,    96,   112,   103,   137,   152,   153,   135,   155,   156,
+     126,   123,   124,   126,    54,   126,   100,   127,   102,   126,
+     104,   105,   126,    54,   126,   134,   121,   157,   126,     4,
+     114,   115,   116,   117,   118,    54,   120,   126,   122,   139,
+     140,   126,    54,   126,   128,   126,   126,   131,   132,   133,
+      71,   135,   136,    28,   201,   202,   126,   295,   126,   143,
+     144,   126,   154,   126,    18,   126,   126,    42,   126,   126,
+      54,    46,   212,   149,   150,   151,   152,   153,    37,    38,
+      39,    40,   158,   149,   150,   151,   152,   153,    54,    54,
+      44,    45,   195,   196,   197,   198,    50,    51,   238,     6,
+       7,    54,    52,    54,    11,    12,    13,    61,    54,    16,
+      60,    54,   126,    63,    21,    22,   143,   126,    68,    26,
+      27,    54,   126,    30,    99,    32,    33,    54,    54,    36,
+      54,    85,    54,    54,    54,    54,    43,    87,   154,    89,
+      90,   154,    92,    93,    94,   143,    53,    97,   123,   124,
+      25,    58,    59,   154,   113,    62,   110,   111,    65,    66,
+     307,   308,    69,    70,   143,   119,   125,   157,   154,   147,
+     129,   130,   148,   154,   143,   157,   143,    84,     0,   319,
+     154,   154,   329,   154,   154,   143,   154,   334,   138,     0,
+     257,    78,   192,   100,    92,   102,   159,   104,   105,    13,
+     347,   348,   349,   350,   351,   146,   203,   114,   115,   116,
+     117,   118,   240,   120,   118,   122,    42,    25,   261,   345,
+      -1,   128,    -1,   311,   131,   132,   133,    -1,   135,   136,
+     331,    -1,    -1,     6,     7,    -1,   143,   144,    11,    12,
       13,    -1,    -1,    16,    -1,    -1,    -1,    -1,    21,    22,
-      -1,    -1,    -1,    26,    27,    -1,    -1,    30,    -1,    32,
-      33,    -1,    -1,    36,    -1,    -1,    -1,    -1,    -1,    -1,
-      43,    -1,    18,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
-      53,    -1,    -1,    -1,    -1,    58,    59,    -1,    -1,    62,
-      -1,    -1,    65,    66,    -1,    -1,    69,    70,    44,    45,
-      -1,    -1,    -1,    -1,    50,    51,    -1,    -1,    -1,    -1,
-      -1,    84,    -1,    -1,    -1,    61,    -1,    -1,    -1,    -1,
-      -1,    -1,    -1,    10,    -1,    -1,    -1,   100,    -1,   102,
-      17,   104,   105,    20,    -1,    -1,    -1,    -1,    -1,    85,
-      -1,   114,   115,   116,   117,   118,    -1,   120,    -1,   122,
-      -1,    -1,    -1,    -1,    41,   128,    -1,    -1,   131,   132,
-     133,    52,   135,   136,   110,   111,    -1,    -1,    -1,    60,
-      -1,   144,    63,   119,    -1,    -1,    -1,    68,    -1,    -1,
-      -1,    -1,    -1,    -1,    -1,    72,    73,    74,    -1,    76,
-      77,    -1,    -1,    80,    -1,    -1,    87,    -1,    89,    90,
-      -1,    92,    93,    94,    -1,    -1,    97,    -1,    -1,    -1,
-      -1,    98,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
-      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
+      -1,    10,    -1,    26,    27,    -1,    -1,    30,    17,    32,
+      33,    20,    -1,    36,    -1,     6,    -1,    -1,    -1,    -1,
+      43,    -1,    -1,    14,    -1,    -1,    -1,    -1,    -1,    -1,
+      53,    -1,    41,    -1,    -1,    58,    59,    -1,    -1,    62,
+      -1,    -1,    65,    66,    -1,    -1,    69,    70,    -1,    -1,
+      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    49,    -1,
+      -1,    84,    -1,    72,    73,    74,    57,    76,    77,    -1,
+      -1,    80,    -1,    -1,    -1,    -1,    -1,   100,    -1,   102,
+      -1,   104,   105,    -1,    75,    -1,    -1,    -1,    79,    98,
+      81,   114,   115,   116,   117,   118,    -1,   120,    -1,   122,
+      91,    -1,    -1,    -1,    -1,   128,    -1,    -1,   131,   132,
+     133,    -1,   135,   136,    -1,    -1,    -1,   108,   109,    -1,
+      -1,   144,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
-      -1,    -1,    -1,    -1,    -1,    -1,    -1,   138
+      -1,    -1,    -1,   134,    -1,   136,    -1,   138
 };
 /* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
 #line 3 "/usr/local/gnu/share/bison/bison.simple"
@@ -2178,7 +2168,7 @@ case 178:
     break;
 case 179:
 #line 783 "ntp_parser.y"
-{ enqueue(my_config.vars, create_attr_dval(T_WanderThreshold, yyvsp[0].Integer));
+{ enqueue(my_config.vars, create_attr_dval(T_WanderThreshold, yyvsp[0].Double));
 		  enqueue(my_config.vars, create_attr_sval(T_Driftfile, yyvsp[-1].String)); }
     break;
 case 180:

==== ntpd/ntp_parser.y ====
2007-08-04 16:50:37-04:00, stenn at whimsy.udel.edu +1 -1
  [Bug 850] Fix the wander threshold parameter on the driftfile command

--- 1.12/ntpd/ntp_parser.y	2007-07-24 01:50:44 -04:00
+++ 1.13/ntpd/ntp_parser.y	2007-08-04 16:50:37 -04:00
@@ -779,7 +779,7 @@ miscellaneous_command
 drift_parm
 	:	T_String
 		{ enqueue(my_config.vars, create_attr_sval(T_Driftfile, $1)); }
-	|   T_String T_Integer
+	|   T_String number
 		{ enqueue(my_config.vars, create_attr_dval(T_WanderThreshold, $2));
 		  enqueue(my_config.vars, create_attr_sval(T_Driftfile, $1)); }
 	|	{ /* Null driftfile,  indicated by null string "\0" */


More information about the bk-ntp-dev-send mailing list