Wireshark-commits: [Wireshark-commits] rev 49071: /trunk/ui/gtk/ /trunk/ui/gtk/: capture_dlg.c

Date: Sat, 27 Apr 2013 09:55:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49071

User: martink
Date: 2013/04/27 02:55 AM

Log:
 when a named pipe is added to the interfaces list, it has no linktype
 this triggered the g_assert(linktype) in create_and_fill_model()
     
 the assert is not necessary as both gtk_list_store_set() and g_free()
 can handle NULL parameters
     
 remove the assert and add set linktype to "unknown" if the interface
 has no linktype

Directory: /trunk/ui/gtk/
  Changes    Path             Action
  +2 -1      capture_dlg.c    Modified