diff options
author | Jirka Novak <j.novak@netsystem.cz> | 2021-12-08 22:16:10 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-07-22 15:55:28 +0000 |
commit | 274f423401a9fbea9236ac148c74865af92de20c (patch) | |
tree | 6ef4ff1bc5c342c23869d4617850919c46d1a42f /extcap | |
parent | 1e53e49a548fb7675bab8f3bd437414511a03b0d (diff) |
Fixed issue in processing filters for ASA
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/ciscodump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c index 642e531e1b..8131b41847 100644 --- a/extcap/ciscodump.c +++ b/extcap/ciscodump.c @@ -1763,7 +1763,7 @@ static ssh_channel run_capture_asa(ssh_channel channel, const char* iface, const multiline_filter = g_strdup(cfilter); chr = multiline_filter; start = multiline_filter; - while((chr = g_strstr_len(chr, strlen(chr), ",")) != NULL) { + while((chr = g_strstr_len(start, strlen(start), ",")) != NULL) { chr[0] = '\0'; ws_debug("Splitting filter into multiline"); if (ssh_channel_printf(channel, "access-list %s %s\n", WIRESHARK_CAPTURE_ACCESSLIST, start) == EXIT_FAILURE) |