would it make sense to add version sections to the preferences file? Parsing the preference file would a bit more work, but one could separate the modified preferences
in a proper way from each other.

Extra benefit: One could use the same preference file with different (older) versions of
Wireshark, without any problem (if such a feature get's backported).

Something like this:

<version: 1.6.0>
...
</version: 1.6.0>
<version: 1.8.0>
...
</version: 1.8.0>

Regards
Kurt

Hi.

After upgrading my local wireshark to latest trunk I get some warnings
from my preferences.
I suspect someone rewrote the preference format without handling /
converting old values?

The user should not loose the preferences when upgrading, just because
we changed the format.


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to