aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bootp.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-04-05 20:20:21 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-04-05 20:20:21 +0000
commiteb98d3592274db227d77e133137318dc69d8880b (patch)
tree209bde256481cfe0f401e6864bef1d4ba01e2d6c /epan/dissectors/packet-bootp.c
parentc92c1df4a4eb41b9ddbfa2b2a11c3e59764518dd (diff)
use proto_item_appent_text() instead of proto_item_append_string() since the hf field is not neccessarily a FT_STRING value always.
svn path=/trunk/; revision=14019
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r--epan/dissectors/packet-bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index 7036d8ed64..509ed3be34 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -1166,7 +1166,7 @@ bootp_option(tvbuff_t *tvb, proto_tree *bp_tree, int voff, int eoff,
case ipv4:
if (optlen != 4) {
- proto_item_append_string(vti,
+ proto_item_append_text(vti,
" - length isn't 4");
break;
}