Wireshark-commits: [Wireshark-commits] master-2.2 e8563d9: If device->active_dlt = -1, show "Unknow
      
      
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e8563d98a1f9ed32374b9b1c86d38d33e07d2f6d
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
e8563d9 by Guy Harris (guy@xxxxxxxxxxxx):
    If device->active_dlt = -1, show "Unknown" rather than "DLT -1".
    
    It means we don't know the active link-layer header type - probably
    because the device can't be opened, so we can't get the default linktype
    or the list of available linktypes - so show it as "Unknown".
    
    Bug: 14847
    Change-Id: I5a1ad360d2ae461e8db57e387679700a566b0949
    Reviewed-on: https://code.wireshark.org/review/28185
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 3c9c2c65341bae5a7b983af2a572b8a9a99b543c)
    Reviewed-on: https://code.wireshark.org/review/28188
    
Actions performed:
    from  8b75563   Fix previous backport.
    adds  e8563d9   If device->active_dlt = -1, show "Unknown" rather than "DLT -1".
Summary of changes:
 ui/qt/capture_interfaces_dialog.cpp | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)