{ .opt="unknown-arg10", .show=1 },
{ .opt="unknown-arg11", .show=1 },
{ .opt="connection-type", .err_missing=1, .check="tunnel" },
- { .opt="minus1", .err_missing=1, .check="-1" },
+ { .opt="password-expiration-days", .show=1 }, /* days until password expires, if not -1 */
{ .opt="clientVer", .err_missing=1, .check="4100" },
{ .opt="preferred-ip", .save=1 },
{ .opt=NULL },
else if (xml_node) {
/* XX: Could we just use xml_node->content here? */
value = (char *)xmlNodeGetContent(xml_node);
- if (value && (!value[0] || !strcmp(value, "(null)"))) {
+ if (value && (!value[0] || !strcmp(value, "(null)") || !strcmp(value, "-1"))) {
free(value);
value = NULL;
}