bugfix of a bug causing tethereal value output to fail:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 27 Mar 2005 01:18:06 +0000 (01:18 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 27 Mar 2005 01:18:06 +0000 (01:18 +0000)
value_string's must be terminated with { 0, NULL }!!!

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13928 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/agentx/packet-agentx.c

index 049cfd1d74d02a7bcd3385f7d537dacededce88d..80c65fcb7e6b11e0378453daa93c9cec73718aa2 100644 (file)
@@ -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 }
 };