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>
This commit is contained in:
Peter Wu 2018-10-04 23:33:33 +02:00 committed by Anders Broman
parent d073b210c9
commit 872b573381
1 changed files with 5 additions and 0 deletions

View File

@ -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 */