diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-21 12:43:55 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-08-22 11:55:21 +0000 |
commit | b0a8fa59f891b843a8fa6a6084f3fb73fb09e3ac (patch) | |
tree | 9cfba844f970325c17d61319d82212647f249f45 /ui/gtk/capture_dlg.c | |
parent | 532070b4e7cfa4bcbf1e10ed14503f9aae0ee7ab (diff) |
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>
Diffstat (limited to 'ui/gtk/capture_dlg.c')
-rw-r--r-- | ui/gtk/capture_dlg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index 747097677f..72d9bd4b76 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -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; |