diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-02-14 18:22:57 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2017-02-14 17:23:58 +0000 |
commit | bc29b8c9b616840af5322639f9ccc24bfb865844 (patch) | |
tree | df45a7251e950347511cad386f21e5f173855e89 /extcap/androiddump.c | |
parent | 0ed10658cf527bfaac51fe3dd70a3dd81ae48dc8 (diff) |
androiddump: fix compilation with ANDROIDDUMP_USE_LIBPCAP define
Change-Id: I6edc4ff9f4db5fab9b80cb0be56639443ab22518
Reviewed-on: https://code.wireshark.org/review/20105
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'extcap/androiddump.c')
-rw-r--r-- | extcap/androiddump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c index 01b96f6185..7ca6f9f027 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -2785,7 +2785,10 @@ int main(int argc, char **argv) { end: /* clean up stuff */ extcap_base_cleanup(&extcap_conf); +#ifndef ANDROIDDUMP_USE_LIBPCAP wtap_cleanup(); +#endif + return ret; } |