diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-27 01:18:06 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-27 01:18:06 +0000 |
commit | 79acf759c64ec04e4ecd6daa1ae858964ca86013 (patch) | |
tree | ed24c95b3001365d2955eaffb6a96c0b65505c2e | |
parent | b01a98422f6c219b206a8445254a5def6b3fa5f7 (diff) |
bugfix of a bug causing tethereal value output to fail:
value_string's must be terminated with { 0, NULL }!!!
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13928 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | plugins/agentx/packet-agentx.c | 5 |
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 } }; |