http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=53581
User: guy
Date: 2013/11/25 09:21 PM
Log:
If we don't have any preference set for the link-layer header type for
an interface, don't destroy the default link-layer header type from the
list of types.
I.e., first get the type from the preference (which sets the type to -1
if there isn't a preference), and then loop through the list of types
and, if there was no value obtained from the preference (i.e., the type
is -1), set it to the first type in the list.
Also, don't bother with the link-layer header type from the global
default options, as a global (all-interface) link-layer header type
makes little sense, given that the list of link-layer header types for
an interface depends on the type of interface and hence may differ from
interface to interface.
Fixes bug 9473.
Directory: /trunk/ui/
Changes Path Action
+19 -6 iface_lists.c Modified