Wireshark mailing list archives

Re: Warnings when loading preferences


From: Evan Huus <eapache () gmail com>
Date: Wed, 1 Aug 2012 10:30:16 -0400

On Wed, Aug 1, 2012 at 9:55 AM, Kurt Knochner
<ws.dev.list () nospam knochner com> wrote:
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

Very neat idea. It would probably make more sense to split into
minversion (for new preferences introduced in a certain release) and
maxversion (for preferences deprecated in a certain release) but the
concept is cool. It wouldn't solve this particular problem
unfortunately, because 1.8 and prior don't have support for those tags
and would throw a warning (or an error?) if it saw them. It would be
nice to have some version of this going forward for 1.10+ though.

Cheers,
Evan
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: