Module: check_mk
Branch: master
Commit: 8f43a1c1f3ce6c3e1402646f069ae02095f74a64
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8f43a1c1f3ce6c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jan 19 09:29:58 2012 +0100
FIX: fix type column in 'GET columns' for dict-type columns
---
ChangeLog | 4 ++++
livestatus/src/TableColumns.cc | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1673ec2..ff66fac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -213,6 +213,10 @@
* FIX: fixed man pages of h3c_lanswitch_sensors and statgrab_cpu
* FIX: netapp_volumes: added raid4 as allowed state (thanks to Michaël Coquard)
+ Livestatus
+ * FIX: fix type column in 'GET columns' for dict-type columns (bug found
+ by Gerhard Lausser)
+
1.1.12p6:
Checks & Agents:
* FIX: lnx_if: remove debug output (left over from 1.1.12p5)
diff --git a/livestatus/src/TableColumns.cc b/livestatus/src/TableColumns.cc
index 0839da5..69f593b 100644
--- a/livestatus/src/TableColumns.cc
+++ b/livestatus/src/TableColumns.cc
@@ -62,7 +62,7 @@ void TableColumns::answerQuery(Query *query)
const char *TableColumns::getValue(Column *column, int colcol)
{
- static const char *typenames[5] = { "int", "float",
"string", "list", "time" };
+ static const char *typenames[6] = { "int", "float",
"string", "list", "time", "dict" };
switch (colcol)
{