Wireshark-commits: [Wireshark-commits] rev 42059: /trunk/ui/gtk/ /trunk/ui/gtk/: capture_dlg.c
Date: Sat, 14 Apr 2012 00:36:30 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42059

User: guy
Date: 2012/04/13 05:36 PM

Log:
 If we don't even *have* a filter combo box, there's nothing we can check
 or colorize; quit before we even *try* to get the link-layer header
 type.
 
 If we don't have an active link-layer header type, that probably means
 we don't know what link-layer header types the interface provides, which
 would be the case if it were a named pipe or an interface we can't open.
 Don't crash in that case, just leave the filter combo box uncolored, to
 indicate that we have no clue whether the filter is valid or not.
 
 Fixes bug 7049.

Directory: /trunk/ui/gtk/
  Changes    Path             Action
  +21 -8     capture_dlg.c    Modified