summaryrefslogtreecommitdiff
path: root/daemon/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/config.c')
-rw-r--r--daemon/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/config.c b/daemon/config.c
index ce6e397..33fc5fa 100644
--- a/daemon/config.c
+++ b/daemon/config.c
@@ -295,7 +295,7 @@ parse_item(const char* field, char* uri, config_ctx *ctx)
ritem->host = rhost;
ritem->poller = NULL; /* Set later in config_done */
ritem->req = NULL;
- ritem->value = RB_UNKNOWN;
+ ritem->vtype = VALUE_UNSET;
/* And parse the OID */
if(rb_snmp_parse_mib(path, &(ritem->snmpfield)) == -1)