wireshark/capture
Guy Harris fcb56bd1d4 Clean up printing of interface information.
In dumpcap, if we're being run by TShark or Wireshark, if there are no
link-layer types, just provide an empty list to our caller; let them
construct an empty list of link-layer types when they read our output.

In the code that reads that list, don't report an error if the list is
empty, rely on the caller to do so.

Have capture_opts_print_if_capabilities() do more work, moving some
functions from its callers to it.
2021-04-13 23:14:09 -07:00
..
.editorconfig
CMakeLists.txt
airpcap.h
airpcap_loader.c
airpcap_loader.h
capture-pcap-util-int.h
capture-pcap-util-unix.c
capture-pcap-util.c
capture-pcap-util.h
capture-wpcap.c
capture-wpcap.h
capture_ifinfo.c Clean up printing of interface information. 2021-04-13 23:14:09 -07:00
capture_ifinfo.h
capture_session.h
capture_sync.c
capture_sync.h
capture_win_ifnames.c
capture_win_ifnames.h
iface_monitor.c
iface_monitor.h
ws80211_utils.c
ws80211_utils.h