Ethereal-dev: Re: [Ethereal-dev] new dissector: SCCP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 4 Mar 2002 16:04:03 -0800
On Mon, Mar 04, 2002 at 06:35:41PM -0500, Jeff Morriss wrote:
> What about having the preference stored in MTP3 but the preference show
> up in each protocol?

"Show up in each protocol" in that you have 2 preference items, one
under MTP3 and one under SCCP, that both affect the same flag variable
inside Ethereal?

If so, then note that if you have two preference items, like that,
they'll have different names in the preferences file, which lets people
set them differently.  Which one should rule?

Another alternative, if all the protocols that have ITU vs. ANSI
switches are part of SS7, would be to have an "SS7" item in the
preferences dialog, with that option.  It *is* possible to create an
item in the preferences dialog that doesn't have a protocol associated
with it (as there's no "SS7" protocol, there are multiple SS7
protocols), you'd just directly use "prefs_register_module()" rather
than using "prefs_register_protocol()".

However, users would have to know that, to affect MTP3 and SCCP, they'd
have to change the item under "SS7".