aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stat_tap_ui.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-10-04 23:33:33 +0200
committerAnders Broman <a.broman58@gmail.com>2018-10-05 04:30:27 +0000
commit872b573381d3b20e6a6c3e4a71d727d91548a4bd (patch)
treefd61ac4f66fc2e4d5c35d6f39f4dfd5b56fcee69 /epan/stat_tap_ui.c
parentd073b210c946f24962aba80b4f22740152773721 (diff)
Recognize -zfollow,ssl,ascii,0 for compatibility
Instead of reporting it as unsupported, silently map ssl to tls. Change-Id: I4c7436872137749634590a99201f2b8222c69fb4 Fixes: v2.9.0rc0-1819-gcd95e197ca ("Start renaming SSL to TLS.") Reviewed-on: https://code.wireshark.org/review/30025 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/stat_tap_ui.c')
-rw-r--r--epan/stat_tap_ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/stat_tap_ui.c b/epan/stat_tap_ui.c
index a7141335bd..c54d22463a 100644
--- a/epan/stat_tap_ui.c
+++ b/epan/stat_tap_ui.c
@@ -85,6 +85,11 @@ process_stat_cmd_arg(char *optstr)
stat_cmd_arg *sca;
stat_requested *tr;
+ /* Renamed in Wireshark 3.0, backwards compatibility. */
+ if (!strncmp(optstr, "follow,ssl", strlen("follow,ssl"))) {
+ memcpy(optstr + 7, "tls", 3);
+ }
+
/* The strings "ipx" or "ipv6" must be tested before "ip" to select the
right tap so the sorting does matter. And it's also why the list is
walked backwards */