packet-simple: also dissect SIMPLE over TCP
authorPeter Ross <peter.ross@rmit.edu.au>
Sat, 30 Jul 2016 02:41:57 +0000 (12:41 +1000)
committerMichael Mann <mmann78@netscape.net>
Sat, 30 Jul 2016 16:28:54 +0000 (16:28 +0000)
Change-Id: I9310a6fa0b50e54a9e7febb955cdfdab560c4ba9
Reviewed-on: https://code.wireshark.org/review/16779
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-simple.c

index 90f7ca1222280097bbbc2ab4ef0178ab19d80ee5..71035bfdb374e76c4fcb8884c7014977225039b4 100644 (file)
@@ -686,6 +686,7 @@ void proto_reg_handoff_simple(void)
     dissector_handle_t simple_dissector_handle;
     simple_dissector_handle = create_dissector_handle(dissect_simple, proto_simple);
     dissector_add_for_decode_as("udp.port", simple_dissector_handle);
+    dissector_add_for_decode_as("tcp.port", simple_dissector_handle);
 
     link16_handle = find_dissector_add_dependency("link16", proto_simple);
 }