aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-27 01:18:06 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-27 01:18:06 +0000
commit1352cfe808736c97a139b4096525ceaad5981588 (patch)
treeed24c95b3001365d2955eaffb6a96c0b65505c2e
parentde77acf87573bf2b3da9288e5972571e485c7549 (diff)
bugfix of a bug causing tethereal value output to fail:
value_string's must be terminated with { 0, NULL }!!! svn path=/trunk/; revision=13928
-rw-r--r--plugins/agentx/packet-agentx.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/agentx/packet-agentx.c b/plugins/agentx/packet-agentx.c
index 049cfd1d74..80c65fcb7e 100644
--- a/plugins/agentx/packet-agentx.c
+++ b/plugins/agentx/packet-agentx.c
@@ -156,6 +156,7 @@ static const value_string type_values [] = {
{ AGENTX_ADD_AGENT_CAPS_PDU, "AddAgentCaps-PDU" },
{ AGENTX_REM_AGENT_CAPS_PDU, "RemoveAgentCaps-PDU" },
{ AGENTX_RESPONSE_PDU, "Response-PDU" },
+ { 0, NULL }
};
@@ -189,7 +190,8 @@ static const value_string vtag_values [] = {
{ VB_COUNTER64, "Counter64" },
{ VB_NOSUCHOBJ, "noSuchObject" },
{ VB_NOSUCHINST, "noSuchInstance" },
- { VB_ENDOFMIB, "endOfMibView" },
+ { VB_ENDOFMIB, "endOfMibView" },
+ { 0, NULL }
};
@@ -209,6 +211,7 @@ static const value_string close_reasons[] = {
{ CREASON_TIMEOUTS, "reasonTimeouts" },
{ CREASON_SHUTDOWN , "reasonShutdown" },
{ CREASON_BY_MANAGER, "reasonByManager" },
+ { 0, NULL }
};