aboutsummaryrefslogtreecommitdiffstats
path: root/capchild/capture_ifinfo.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-11-16 12:23:17 +0100
committerAnders Broman <a.broman58@gmail.com>2015-11-17 08:17:38 +0000
commit167874a62bb8375eb07637d28e98ea45e497075f (patch)
treecf32d8e0455926bdce79cfe835b04f86d5f631c5 /capchild/capture_ifinfo.c
parent14c35c31d8e77f95abaa601c42566636197641e1 (diff)
Extcap: allow Wireshark to list extcap interfaces even when WinPcap / Npcap is not installed
Bug: 11715 Change-Id: I4a043c4a298506d51cb6bf8b97aac787113a7dfa Reviewed-on: https://code.wireshark.org/review/11869 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Guenter Ebermann <guenter.ebermann@googlemail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'capchild/capture_ifinfo.c')
-rw-r--r--capchild/capture_ifinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capchild/capture_ifinfo.c b/capchild/capture_ifinfo.c
index 30cb7d1b0e..3a25f2fa22 100644
--- a/capchild/capture_ifinfo.c
+++ b/capchild/capture_ifinfo.c
@@ -139,7 +139,7 @@ capture_interface_list(int *err, char **err_str, void (*update_cb)(void))
}
g_free(secondary_msg);
*err = CANT_GET_INTERFACE_LIST;
- return NULL;
+ return if_list;
}
/* Split our lines */