+* [Bug 2113] Warn about ignored extra args in ntpq.
* [Bug 2561] Allow wildcards in the target of the "interface" command.
(4.2.7p425) 2014/02/26 Released by Harlan Stenn <stenn@ntp.org>
* Copyright file update.
* Variable list data space
*/
#define MAXLINE 512 /* maximum length of a line */
-#define MAXLIST 64 /* maximum variables in list */
+#define MAXLIST 128 /* maximum variables in list */
#define LENHOSTNAME 256 /* host name limit */
#define MRU_GOT_COUNT 0x1
else
valuelen = strlen(vl->value);
totallen = namelen + valuelen + (valuelen != 0) + (cp != data);
- if (cp + totallen > cpend)
- break;
+ if (cp + totallen > cpend) {
+ fprintf(stderr,
+ "***Ignoring variables starting with `%s'\n",
+ vl->name);
+ break;
+ }
if (cp != data)
*cp++ = ',';