Wireshark mailing list archives

Config files: profiles folder vs. "default" personal folder


From: Uli Heilmeier <zeugs () heilmeier eu>
Date: Sun, 2 Jun 2019 21:13:37 +0200

With my latest VLAN resolving commit [1] Stig noted that we have some inconsistency where we search for personal
configuration files.

Quote:
We now have files which are:

1. Only loaded from the current profile. This is "hosts" and "ss7pcs".
2. First loaded from current profile and then loaded from the "Default" profile if not in current profile. This is
"subnets", "services" and now "vlans".
3. Only loaded from the "Default" profile. This is "ethers", "ipxnets" and "enterprises.tsv".

Loading hosts from a profile folder depends also on a preference.

As Stig has suggested it would make sense to have one logic for all such files.

Any opinions?

I favour way 2 (first current profile -> fall back to default)

Cheers
Uli


[1]: https://code.wireshark.org/review/c/33387/
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: