diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2014-09-17 15:06:03 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-09-17 23:07:06 +0000 |
commit | d8afd59b554e30c0063faa48b98703065c2057a3 (patch) | |
tree | 08d00cf54b2b854409cc5dd452bc06cb70fce0d4 /plugins | |
parent | 17c14d6499c18fa67875c76fb377b4722035a160 (diff) |
opcua: remove unused code
Change-Id: I78963640e32393f3ac399e59a659ddf619d15c3d
Reviewed-on: https://code.wireshark.org/review/4148
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/opcua/opcua_security_layer.c | 11 | ||||
-rw-r--r-- | plugins/opcua/opcua_transport_layer.c | 9 |
2 files changed, 0 insertions, 20 deletions
diff --git a/plugins/opcua/opcua_security_layer.c b/plugins/opcua/opcua_security_layer.c index 4add7ee2e8..b68f8aa36c 100644 --- a/plugins/opcua/opcua_security_layer.c +++ b/plugins/opcua/opcua_security_layer.c @@ -27,17 +27,6 @@ #include "opcua_simpletypes.h" #include "opcua_security_layer.h" -#if 0 -/** NodeClass enum table */ -static const value_string g_SecSigTable[] = { - { 0, "GetSecurityPolcies" }, - { 1, "OpenSecureChannel" }, - { 2, "CloseSecureChannel" }, - { 3, "Message" }, - { 0, NULL } -}; -#endif - static int hf_opcua_security_tokenid = -1; static int hf_opcua_security_seq = -1; static int hf_opcua_security_rqid = -1; diff --git a/plugins/opcua/opcua_transport_layer.c b/plugins/opcua/opcua_transport_layer.c index 8c8a080551..f4db2ed42a 100644 --- a/plugins/opcua/opcua_transport_layer.c +++ b/plugins/opcua/opcua_transport_layer.c @@ -34,7 +34,6 @@ static int hf_opcua_transport_chunk = -1; static int hf_opcua_transport_size = -1; static int hf_opcua_transport_ver = -1; static int hf_opcua_transport_scid = -1; -/* static int hf_opcua_transport_lifetime = -1; */ static int hf_opcua_transport_rbs = -1; static int hf_opcua_transport_sbs = -1; static int hf_opcua_transport_mms = -1; @@ -73,11 +72,6 @@ void registerTransportLayerTypes(int proto) { &hf_opcua_transport_scid, { "SecureChannelId", "transport.scid", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, -#if 0 - { &hf_opcua_transport_lifetime, - { "Lifetime", "transport.lifetime", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } - }, -#endif { &hf_opcua_transport_rbs, { "ReceiveBufferSize", "transport.rbs", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } }, @@ -99,9 +93,6 @@ void registerTransportLayerTypes(int proto) { &hf_opcua_transport_reason, { "Reason", "transport.reason", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, - /* { &hf_opcua_transport_spul, - { "SecurityPolicyUriLength", "transport.spul", FT_UINT32, BASE_DEC, NULL, 0x0, "", HFILL } - },*/ { &hf_opcua_transport_spu, { "SecurityPolicyUri", "security.spu", FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, |