summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2012-02-20 17:26:07 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2012-02-20 17:26:07 (GMT)
commit6a24cb04edcc1978d18185167b5203522b078caa (patch) (side-by-side diff)
tree72685874dc1e27613a6b7ff2e623c584e00e3995
parent330125a219489f1253fa7d1d9eba9e5ddeb82770 (diff)
downloadslb-6a24cb04edcc1978d18185167b5203522b078caa.tar.gz
slb-6a24cb04edcc1978d18185167b5203522b078caa.tar.bz2
Bugfixes.
* grecs: Upgrade. * src/config.c (parse_assert_argv): Fix diagnostic message. (server_kw)<table>: Mark as GRECS_MULT.
Diffstat (more/less context) (ignore whitespace changes)
m---------grecs0
-rw-r--r--src/config.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/grecs b/grecs
-Subproject 24890618970bcc010d090c2dced95f0cce746ca
+Subproject 84009ba4cd4246be9def916554e0b9856124477
diff --git a/src/config.c b/src/config.c
index 76ca179..877bd85 100644
--- a/src/config.c
+++ b/src/config.c
@@ -453,7 +453,7 @@ parse_assert_argv(char **argv, struct grecs_symtab *at, grecs_locus_t *locus)
install = 1;
ap = assertion_lookup(at, oid, oidlen, &install);
if (!install)
- grecs_error(locus, 0, _("redefinition of %s"), argv);
+ grecs_error(locus, 0, _("redefinition of assertion"));
ap->opcode = opcode;
ap->flags = flags;
@@ -902,7 +902,7 @@ static struct grecs_keyword server_kw[] = {
cb_server_expression },
{ "table", N_("<name: string> <base-oid: string>"),
N_("Define SNMP table"),
- grecs_type_string, GRECS_DFLT,
+ grecs_type_string, GRECS_MULT,
NULL, offsetof(struct slb_server, tables),
cb_table },
{ "variable", N_("<name: string> <oid: string>"),

Return to:

Send suggestions and report system problems to the System administrator.