On Wed, Aug 1, 2012 at 9:55 AM, Kurt Knochner <ws.dev.l...@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-requ...@wireshark.org?subject=unsubscribe