summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-10-05 21:25:19 -0400
committerEvan Huus <eapache@gmail.com>2014-10-06 15:22:45 +0000
commit9128e43745bbb1ba48b031a862a952b093aa9e76 (patch)
treeb22a046e623e8fb079df9bf3fd23734be198bd70 /epan
parent47de5a1fa087854e7c613e59ae1ecd245e564d13 (diff)
downloadwireshark-9128e43745bbb1ba48b031a862a952b093aa9e76.tar.gz
tcp: default no-subdissector-on-error to TRUE
Dissectors that need this set break badly when it isn't. Dissectors which don't need this set will still generally be understandable without it, since e.g. retransmissions will link to the original packet at the TCP layer, and presumably the subdissector payload is exactly the same in that case. Change-Id: I2871c2a90c601637bdfb8cffaa34a7407995c603 Ping-Bug: 10525 Ping-Bug: 10289 Reviewed-on: https://code.wireshark.org/review/4487 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index a6bf163d2f..39f4d38d51 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -333,7 +333,7 @@ static expert_field ei_tcp_urgent_pointer_non_zero = EI_INIT;
* This preference can be set for such protocols to make sure that we don't
* invoke the subdissectors for retransmitted or out-of-order segments.
*/
-static gboolean tcp_no_subdissector_on_error = FALSE;
+static gboolean tcp_no_subdissector_on_error = TRUE;
/*
* FF: (draft-ietf-tcpm-experimental-options-03)