diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-04-06 15:45:11 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-04-06 15:45:11 +0000 |
commit | a2241bf7b84e6a73fa271afea36f6cf8e0656695 (patch) | |
tree | bc0088ea7fd1d6a8f74c4f75fb1b1003cf942778 /plugins/docsis | |
parent | bcea060cd52d8c67fc8a611596084074682cc0af (diff) |
Don't use %s as the format string in val_to_str().
svn path=/trunk/; revision=32400
Diffstat (limited to 'plugins/docsis')
-rw-r--r-- | plugins/docsis/packet-bpkmreq.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-dsaack.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-dsarsp.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-dscack.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-dscrsp.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-dsdrsp.c | 2 | ||||
-rw-r--r-- | plugins/docsis/packet-map.c | 4 | ||||
-rw-r--r-- | plugins/docsis/packet-regack.c | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/plugins/docsis/packet-bpkmreq.c b/plugins/docsis/packet-bpkmreq.c index 73cc1c10ea..7f3785101b 100644 --- a/plugins/docsis/packet-bpkmreq.c +++ b/plugins/docsis/packet-bpkmreq.c @@ -75,7 +75,7 @@ dissect_bpkmreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) code = tvb_get_guint8 (tvb, 0); col_add_fstr (pinfo->cinfo, COL_INFO, "BPKM Request (%s)", - val_to_str (code, code_field_vals, "%s")); + val_to_str (code, code_field_vals, "%d")); if (tree) { diff --git a/plugins/docsis/packet-dsaack.c b/plugins/docsis/packet-dsaack.c index 0f67bd4eb8..0bea9056c1 100644 --- a/plugins/docsis/packet-dsaack.c +++ b/plugins/docsis/packet-dsaack.c @@ -58,7 +58,7 @@ dissect_dsaack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Dynamic Service Add Ack ID = %u (%s)", transid, - val_to_str (response, docsis_conf_code, "%s")); + val_to_str (response, docsis_conf_code, "%d")); if (tree) { diff --git a/plugins/docsis/packet-dsarsp.c b/plugins/docsis/packet-dsarsp.c index 3ae4d172f0..22ef39e6e5 100644 --- a/plugins/docsis/packet-dsarsp.c +++ b/plugins/docsis/packet-dsarsp.c @@ -58,7 +58,7 @@ dissect_dsarsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Dynamic Service Add Response ID = %u (%s)", transid, - val_to_str (response, docsis_conf_code, "%s")); + val_to_str (response, docsis_conf_code, "%d")); if (tree) { diff --git a/plugins/docsis/packet-dscack.c b/plugins/docsis/packet-dscack.c index 2c844ddbcf..7e8982cccf 100644 --- a/plugins/docsis/packet-dscack.c +++ b/plugins/docsis/packet-dscack.c @@ -58,7 +58,7 @@ dissect_dscack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Dynamic Service Change Ack ID = %u (%s)", transid, - val_to_str (response, docsis_conf_code, "%s")); + val_to_str (response, docsis_conf_code, "%d")); if (tree) { diff --git a/plugins/docsis/packet-dscrsp.c b/plugins/docsis/packet-dscrsp.c index 13620e4968..6e85f42af0 100644 --- a/plugins/docsis/packet-dscrsp.c +++ b/plugins/docsis/packet-dscrsp.c @@ -59,7 +59,7 @@ dissect_dscrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Dynamic Service Change Response ID = %u (%s)", transid, - val_to_str (response, docsis_conf_code, "%s")); + val_to_str (response, docsis_conf_code, "%d")); if (tree) { diff --git a/plugins/docsis/packet-dsdrsp.c b/plugins/docsis/packet-dsdrsp.c index 7364c796de..e52efcdae4 100644 --- a/plugins/docsis/packet-dsdrsp.c +++ b/plugins/docsis/packet-dsdrsp.c @@ -56,7 +56,7 @@ dissect_dsdrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Dynamic Service Delete Response Tran id = %u (%s)", - tranid, val_to_str (confcode, docsis_conf_code, "%s")); + tranid, val_to_str (confcode, docsis_conf_code, "%d")); if (tree) { diff --git a/plugins/docsis/packet-map.c b/plugins/docsis/packet-map.c index 2b9ef13a55..0d1aa1ba5a 100644 --- a/plugins/docsis/packet-map.c +++ b/plugins/docsis/packet-map.c @@ -146,12 +146,12 @@ dissect_map (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) if (sid == 0x3FFF) proto_tree_add_uint_format (map_tree, hf_docsis_map_ie, tvb, pos, 4, ie, "SID = 0x%x (All CM's), IUC = %s, Offset = %u", - sid, val_to_str (iuc, iuc_vals, "%s"), + sid, val_to_str (iuc, iuc_vals, "%d"), offset); else proto_tree_add_uint_format (map_tree, hf_docsis_map_ie, tvb, pos, 4, ie, "SID = %u, IUC = %s, Offset = %u", - sid, val_to_str (iuc, iuc_vals, "%s"), + sid, val_to_str (iuc, iuc_vals, "%d"), offset); pos = pos + 4; } /* for... */ diff --git a/plugins/docsis/packet-regack.c b/plugins/docsis/packet-regack.c index d428b09da7..31f5276dc5 100644 --- a/plugins/docsis/packet-regack.c +++ b/plugins/docsis/packet-regack.c @@ -58,7 +58,7 @@ dissect_regack (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Registration Acknowledge SID = %u (%s)", sid, - val_to_str (response, docsis_conf_code, "%s")); + val_to_str (response, docsis_conf_code, "%d")); if (tree) { it = |