diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2014-07-04 18:18:07 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-07-12 14:06:03 +0000 |
commit | 55733ea17021b160c17df09b3d3a602386c8586f (patch) | |
tree | 643de689cebc98b02f41f4fc6f79170fa844d62f /docbook/custom_layer_pdf.xsl | |
parent | 5fda232659f25bedbf426dfc25f174119614229f (diff) | |
download | wireshark-55733ea17021b160c17df09b3d3a602386c8586f.tar.gz wireshark-55733ea17021b160c17df09b3d3a602386c8586f.tar.bz2 wireshark-55733ea17021b160c17df09b3d3a602386c8586f.zip |
fix scan_local_interfaces()
when we delete an interface from all_ifaces, delete it from ifaces as well
remove its selected status if it was selected
at the moment, an interface that was used for capturing before will
never be removed from the list of interfaces even if it becomes
unavailable as it remains in ifaces and will be re-added to all_ifaces
in scan_local_interfaces()
new helper function capture_opts_del_iface() to delete an entry from ifaces and
free all its components
Change-Id: Ie3271a7ed086367e511d3a971f3b68cfc014115d
Reviewed-on: https://code.wireshark.org/review/2965
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'docbook/custom_layer_pdf.xsl')
0 files changed, 0 insertions, 0 deletions