diff options
author | Gerald Combs <gerald@wireshark.org> | 2004-12-09 23:25:01 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2004-12-09 23:25:01 +0000 |
commit | ff7494014be0ff75efedb8c1d069730aec603fd0 (patch) | |
tree | 1d81ab8fd23d07ed8d44fae71cd22e59c79a0e6c /epan/dissectors/packet-cops.c | |
parent | d528c62de1bd5783cd7d5a0eef14726d5dd61e9f (diff) |
The PacketCable MM code was displaying the secondary record keeping server
IP address where it should have displayed the CCC ID.
svn path=/trunk/; revision=12708
Diffstat (limited to 'epan/dissectors/packet-cops.c')
-rw-r--r-- | epan/dissectors/packet-cops.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cops.c b/epan/dissectors/packet-cops.c index adc8448ad6..683d20bf8a 100644 --- a/epan/dissectors/packet-cops.c +++ b/epan/dissectors/packet-cops.c @@ -707,6 +707,7 @@ static gint hf_cops_pc_dfcdc_ip = -1; static gint hf_cops_pc_dfccc_ip = -1; static gint hf_cops_pc_dfcdc_ip_port = -1; static gint hf_cops_pc_dfccc_ip_port = -1; +static gint hf_cops_pc_dfccc_id = -1; /* PacketCable Multimedia */ static gint hf_cops_pcmm_amid = -1; @@ -2036,6 +2037,11 @@ void proto_register_cops(void) FT_UINT16, BASE_HEX, NULL, 0x00, "DF IP Port CCC", HFILL } }, + { &hf_cops_pc_dfccc_id, + { "CCC ID", "cops.pc_dfccc_id", + FT_UINT32, BASE_DEC, NULL, 0x00, + "CCC ID", HFILL } + }, { &hf_cops_pc_activity_count, { "Count", "cops.pc_activity_count", FT_UINT32, BASE_HEX, NULL, 0x00, @@ -2839,7 +2845,7 @@ cops_surveillance_parameters(tvbuff_t *tvb, proto_tree *st, guint n, guint32 off offset += 2; /* CCCID */ - info_to_display(tvb,stt,offset,4,"CCCID", NULL,FMT_IPv4,&hf_cops_pc_srks_ip); + info_to_display(tvb,stt,offset,4,"CCCID", NULL,FMT_DEC,&hf_cops_pc_dfccc_id); offset += 4; /* BCID Timestamp */ |