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>
This commit is contained in:
parent
0ed10658cf
commit
bc29b8c9b6
|
@ -2785,7 +2785,10 @@ int main(int argc, char **argv) {
|
||||||
end:
|
end:
|
||||||
/* clean up stuff */
|
/* clean up stuff */
|
||||||
extcap_base_cleanup(&extcap_conf);
|
extcap_base_cleanup(&extcap_conf);
|
||||||
|
#ifndef ANDROIDDUMP_USE_LIBPCAP
|
||||||
wtap_cleanup();
|
wtap_cleanup();
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue