diff options
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r-- | epan/dissectors/packet-dhcpv6.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c index d3a439cde0..6b35b8fe91 100644 --- a/epan/dissectors/packet-dhcpv6.c +++ b/epan/dissectors/packet-dhcpv6.c @@ -1200,7 +1200,7 @@ dissect_cablelabs_specific_opts(proto_tree *v_tree, proto_item *v_item, packet_i opt_len = tlv_len; if (tlv_len == 3) { proto_item_append_text(ti, "%s", - tvb_bytes_to_str_punct(tvb, sub_off, 3, ':')); + tvb_bytes_to_ep_str_punct(tvb, sub_off, 3, ':')); } else if (tlv_len == 6) { proto_item_append_text(ti, "\"%s\"", tvb_format_stringzpad(tvb, sub_off, tlv_len)); } else { @@ -1242,7 +1242,7 @@ dissect_cablelabs_specific_opts(proto_tree *v_tree, proto_item *v_item, packet_i } else { proto_item_append_text(ti, "%s", - tvb_bytes_to_str(tvb, sub_off, field_len)); + tvb_bytes_to_ep_str(tvb, sub_off, field_len)); } break; case CL_OPTION_TLV5 : @@ -1355,14 +1355,14 @@ dissect_cablelabs_specific_opts(proto_tree *v_tree, proto_item *v_item, packet_i } else { /*proto_item_append_text(ti, "CM MAC Address Option = %s", */ - proto_item_append_text(ti, "%s", tvb_bytes_to_str_punct(tvb, sub_off, opt_len, ':')); - /* tvb_bytes_to_str(tvb, sub_off, opt_len)); */ + proto_item_append_text(ti, "%s", tvb_bytes_to_ep_str_punct(tvb, sub_off, opt_len, ':')); + /* tvb_bytes_to_ep_str(tvb, sub_off, opt_len)); */ } break; case CL_EROUTER_CONTAINER_OPTION : opt_len = tlv_len; proto_item_append_text(ti, " %s (len=%d)", - tvb_bytes_to_str(tvb, sub_off, opt_len), tlv_len); + tvb_bytes_to_ep_str(tvb, sub_off, opt_len), tlv_len); break; case CL_OPTION_CCC : opt_len = tlv_len; @@ -1518,7 +1518,7 @@ dhcpv6_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, switch (opttype) { case OPTION_CLIENTID: - col_append_fstr(pinfo->cinfo, COL_INFO, "CID: %s ", tvb_bytes_to_str(tvb, off, optlen)); + col_append_fstr(pinfo->cinfo, COL_INFO, "CID: %s ", tvb_bytes_to_ep_str(tvb, off, optlen)); /* Fall through */ case OPTION_SERVERID: case OPTION_RELAYID: |