err_code |= ERR_ALERT | ERR_FATAL;
goto out;
}
+ myidx++;
}
else if (strcmp(args[myidx], "expire") == 0) {
myidx++;
goto out;
}
curproxy->table.expire = val;
+ myidx++;
}
else if (strcmp(args[myidx], "nopurge") == 0) {
curproxy->table.nopurge = 1;
+ myidx++;
}
else if (strcmp(args[myidx], "type") == 0) {
myidx++;
err_code |= ERR_ALERT | ERR_FATAL;
goto out;
}
+ /* myidx already points to next arg */
+ }
+ else {
+ Alert("parsing [%s:%d] : stick-table: unknown argument '%s'.\n",
+ file, linenum, args[myidx]);
+ err_code |= ERR_ALERT | ERR_FATAL;
+ goto out;
}
- myidx++;
}
if (!curproxy->table.size) {