forked from osmocom/wireshark
Initialize extcap for pipes
Change-Id: Ia731f281ee9af171c759d7f6f7c614c350cbb4e7 Reviewed-on: https://code.wireshark.org/review/10178 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
532070b4e7
commit
b0a8fa59f8
|
@ -3488,6 +3488,10 @@ add_pipe_cb(gpointer w _U_)
|
|||
device.if_info.addrs = NULL;
|
||||
device.if_info.loopback = FALSE;
|
||||
device.if_info.type = IF_PIPE;
|
||||
#ifdef HAVE_EXTCAP
|
||||
device.if_info.extcap = NULL;
|
||||
device.external_cap_args_settings = NULL;
|
||||
#endif
|
||||
#if defined(HAVE_PCAP_CREATE)
|
||||
device.monitor_mode_enabled = FALSE;
|
||||
device.monitor_mode_supported = FALSE;
|
||||
|
|
|
@ -283,6 +283,10 @@ void ManageInterfacesDialog::pipeAccepted()
|
|||
device.if_info.addrs = NULL;
|
||||
device.if_info.loopback = FALSE;
|
||||
device.if_info.type = IF_PIPE;
|
||||
#ifdef HAVE_EXTCAP
|
||||
device.if_info.extcap = NULL;
|
||||
device.external_cap_args_settings = NULL;
|
||||
#endif
|
||||
#if defined(HAVE_PCAP_CREATE)
|
||||
device.monitor_mode_enabled = FALSE;
|
||||
device.monitor_mode_supported = FALSE;
|
||||
|
|
Loading…
Reference in New Issue