Ethereal-dev: Re: [Ethereal-dev] Patch to Packet-isup

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 8 Oct 2003 14:15:46 -0700

On Oct 7, 2003, at 10:49 AM, Guy Harris wrote:

Would the E.164 country codes or international network codes be useful
in any other dissectors?

Speaking of the E.164 country codes, are they BCD, or decimal?

The list in packet-isup.c doesn't appear to have any hex values with digits A-F, and the entry for the UK is 0x44, so it looks as if they're BCD - but the entry for the Democratic Republic of Congo is 243, not 0x243. As it's between the 0x0242 entry for the Republic of Congo and the 0x0244 entry for Angola, that's *probably* a typo.

Are there some protocols where it's represented in decimal and others where it's represented in BCD?