diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2014-06-10 12:27:34 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-06-11 12:59:08 +0000 |
commit | baa58887886c6bbe24f2894e40a4c0e1bccd5314 (patch) | |
tree | 2ff324bc0d6882018989158ad219c08706274df1 /plugins/opcua/opcua_servicetable.c | |
parent | fabee432def958af4a102eca6bfe935ec80836f6 (diff) | |
download | wireshark-baa58887886c6bbe24f2894e40a4c0e1bccd5314.tar.gz |
Move ServiceFault from ComplexType- to ServiceParser
ServiceFaults are always sent as a service response and never as value, this moves the parsing code to the correct location.
Change-Id: Ida9cb561aa40fcbfc3c0429aed732d108b295138
Reviewed-on: https://code.wireshark.org/review/2124
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'plugins/opcua/opcua_servicetable.c')
-rw-r--r-- | plugins/opcua/opcua_servicetable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/opcua/opcua_servicetable.c b/plugins/opcua/opcua_servicetable.c index c26ff23c0d..1f1150747c 100644 --- a/plugins/opcua/opcua_servicetable.c +++ b/plugins/opcua/opcua_servicetable.c @@ -29,6 +29,7 @@ #include "opcua_servicetable.h" ParserEntry g_arParserTable[] = { + { OpcUaId_ServiceFault_Encoding_DefaultBinary, parseServiceFault }, { OpcUaId_FindServersRequest_Encoding_DefaultBinary, parseFindServersRequest }, { OpcUaId_FindServersResponse_Encoding_DefaultBinary, parseFindServersResponse }, { OpcUaId_GetEndpointsRequest_Encoding_DefaultBinary, parseGetEndpointsRequest }, @@ -112,6 +113,7 @@ const int g_NumServices = sizeof(g_arParserTable) / sizeof(ParserEntry); /** Service type table */ const value_string g_requesttypes[] = { + { OpcUaId_ServiceFault_Encoding_DefaultBinary, "ServiceFault" }, { OpcUaId_FindServersRequest_Encoding_DefaultBinary, "FindServersRequest" }, { OpcUaId_FindServersResponse_Encoding_DefaultBinary, "FindServersResponse" }, { OpcUaId_GetEndpointsRequest_Encoding_DefaultBinary, "GetEndpointsRequest" }, |