1 | initial version |
We should probably add an API for registering "constrained" unsigned integer preferences (to borrow a term from ASN.1, as I remember) - it would specify a minimum and maximum value.
That way, we can do the bounds checking in the preferences code, and, if we use a spin box for them, set minimum and maximum values.
Again, this should be tracked with a bug on the Wireshark Bugzilla.