Wireshark-commits: [Wireshark-commits] master-1.10 c8b1d16: Don't default to a non-working DLT.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 5 Apr 2015 21:40:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c8b1d16e1f89d859c97b7099306b17b1a6f1570f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

c8b1d16 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't default to a non-working DLT.
    
    If we set the active DLT to the user's preference, make sure it's in the
    list of supported DLTs and, if not, pick the first supported DLT_ value,
    if any; this keeps it from, for example, picking a bad DLT_ value if
    your defaults were set based on monitor mode being on but monitor mode
    actually being off, or vice versa.
    
    Change-Id: I7658a12362041d0f91a366e76e53f1f369459bf9
    Reviewed-on: https://code.wireshark.org/review/7930
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  3d75844   Give the welcome screen its own set of callbacks.
    adds  c8b1d16   Don't default to a non-working DLT.


Summary of changes:
 ui/gtk/capture_dlg.c |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)