aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-dhcp.c')
-rw-r--r--epan/dissectors/packet-dhcp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-dhcp.c b/epan/dissectors/packet-dhcp.c
index 3ab58ab954..3d52b60266 100644
--- a/epan/dissectors/packet-dhcp.c
+++ b/epan/dissectors/packet-dhcp.c
@@ -2449,8 +2449,8 @@ dissect_dhcpopt_client_full_domain_name(tvbuff_t *tvb, packet_info *pinfo, proto
};
guint8 fqdn_flags;
int offset = 0, length = tvb_reported_length(tvb);
- const guchar *dns_name;
- guint dns_name_len;
+ const gchar *dns_name;
+ guint dns_name_len;
if (length < 3) {
expert_add_info_format(pinfo, tree, &ei_dhcp_bad_length, "length isn't >= 3");
@@ -2774,8 +2774,8 @@ static int
dissect_dhcpopt_dhcp_domain_search(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
int length = tvb_reported_length(tvb);
- const guchar *dns_name;
- guint dns_name_len;
+ const gchar *dns_name;
+ guint dns_name_len;
/* Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) (RFC 3396) */
/* Domain Names - Implementation And Specification (RFC 1035) */
@@ -2829,8 +2829,8 @@ static int
dissect_dhcpopt_sip_servers(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
int length = tvb_reported_length(tvb);
- const guchar *dns_name;
- guint dns_name_len;
+ const gchar *dns_name;
+ guint dns_name_len;
/* Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4) (RFC 3396) */
/* Domain Names - Implementation And Specification (RFC 1035) */
@@ -3082,7 +3082,7 @@ static int
dissect_dhcpopt_rdnss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
int offset = 0;
- const guchar *dns_name;
+ const gchar *dns_name;
guint dns_name_len;
if (tvb_reported_length(tvb) < 10) {
@@ -6603,7 +6603,7 @@ dissect_packetcable_ietf_ccc(packet_info *pinfo, proto_item *v_ti, proto_tree *v
proto_tree *pkt_s_tree;
proto_item *vti;
int max_timer_val = 255;
- const guchar *dns_name;
+ const gchar *dns_name;
guint dns_name_len;
subopt = tvb_get_guint8(tvb, suboptoff);