diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:52:01 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-23 14:52:01 +0000 |
commit | 124faf721cb858fc6d251fcb6527f8c08979a022 (patch) | |
tree | 3703ba596d4dd647d4cc773702ba99567c76d068 /plugins/docsis | |
parent | 633bb0538096206dc250c19e319f4a5ed77c4164 (diff) |
Use col_set_str instead of col_add_fstr/col_add_str when adding constant strings to COL_INFO
svn path=/trunk/; revision=30089
Diffstat (limited to 'plugins/docsis')
-rw-r--r-- | plugins/docsis/packet-rngreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/docsis/packet-rngreq.c b/plugins/docsis/packet-rngreq.c index 3445e3ce83..c11a92e6a8 100644 --- a/plugins/docsis/packet-rngreq.c +++ b/plugins/docsis/packet-rngreq.c @@ -58,8 +58,7 @@ dissect_rngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) col_add_fstr (pinfo->cinfo, COL_INFO, "Ranging Request: SID = %u", sid); else - col_add_str (pinfo->cinfo, COL_INFO, - "Initial Ranging Request SID = 0"); + col_set_str(pinfo->cinfo, COL_INFO, "Initial Ranging Request SID = 0"); } if (tree) |