URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=68d4ba212c839631c639974b36fc283a9e90bc5e
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
68d4ba2 by Dario Lombardo (lomato@xxxxxxxxx):
extcap: add local_interfaces_to_list() to wsutil.
This new function abstracts the creation of a list of the local
interfaces that will be used by future extcaps to generate specific
filters. Sshdump now uses it to create a pcap filter.
Change-Id: I5b75a266f81104b3c9bcb3e51de246b7cc8785ce
Reviewed-on: https://code.wireshark.org/review/14092
Reviewed-by: João Valverde <j@xxxxxx>
Petri-Dish: João Valverde <j@xxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
Actions performed:
from 5a66318 We need to include <wsutil/privileges.h> for those functions.
adds 68d4ba2 extcap: add local_interfaces_to_list() to wsutil.
Summary of changes:
CMakeLists.txt | 1 +
ConfigureChecks.cmake | 2 +
cmakeconfig.h.in | 6 ++
configure.ac | 2 +
extcap/extcap-base.h | 6 ++
extcap/sshdump.c | 98 ++++++-----------------
wsutil/CMakeLists.txt | 1 +
wsutil/Makefile.common | 2 +
wsutil/interface.c | 106 +++++++++++++++++++++++++
ui/gtk/lbm_stream_dlg.h => wsutil/interface.h | 25 +++---
10 files changed, 164 insertions(+), 85 deletions(-)
create mode 100644 wsutil/interface.c
copy ui/gtk/lbm_stream_dlg.h => wsutil/interface.h (65%)