diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-07-20 17:07:19 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-07-21 00:51:13 +0000 |
commit | 9b731e2b320ca936499bf7840a7b2ac5c2b64e05 (patch) | |
tree | b8ab320176662c385a6d544e505eee173e18ffc1 /ui/cli/tap-httpstat.c | |
parent | 66935d8baadfe7dd62b4e8d4412a47f311ead7f5 (diff) |
Add a tap "finish" callback, called when a listener is removed.
Change-Id: Ic6c23dbd39d1adf8f730f1c866e409f731947475
Reviewed-on: https://code.wireshark.org/review/28786
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/cli/tap-httpstat.c')
-rw-r--r-- | ui/cli/tap-httpstat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c index 1359a253a7..14061f9566 100644 --- a/ui/cli/tap-httpstat.c +++ b/ui/cli/tap-httpstat.c @@ -312,7 +312,8 @@ httpstat_init(const char *opt_arg, void *userdata _U_) 0, httpstat_reset, httpstat_packet, - httpstat_draw); + httpstat_draw, + NULL); if (error_string) { /* error, we failed to attach to the tap. clean up */ g_free(sp->filter); |