forked from osmocom/wireshark
DNS: Fix pointer for is_multiple_responses
As discussed in wireshark/wireshark!2497 there is no need
for a pointer to a pointer.
(cherry picked from commit 337bdf8eb3
)
This commit is contained in:
parent
06e20df535
commit
6b072b63f0
|
@ -1562,7 +1562,7 @@ rfc1867_angle(tvbuff_t *tvb, int offset, gboolean longitude)
|
|||
static int
|
||||
dissect_dns_query(tvbuff_t *tvb, int offset, int dns_data_offset,
|
||||
packet_info *pinfo, proto_tree *dns_tree, gboolean is_mdns,
|
||||
gboolean **is_multiple_responds)
|
||||
gboolean *is_multiple_responds)
|
||||
{
|
||||
int used_bytes;
|
||||
const gchar *name;
|
||||
|
@ -1591,7 +1591,7 @@ dissect_dns_query(tvbuff_t *tvb, int offset, int dns_data_offset,
|
|||
}
|
||||
|
||||
if (type == T_AXFR || type == T_IXFR) {
|
||||
**is_multiple_responds = TRUE;
|
||||
*is_multiple_responds = TRUE;
|
||||
}
|
||||
|
||||
type_name = val_to_str_ext(type, &dns_types_vals_ext, "Unknown (%d)");
|
||||
|
@ -3874,7 +3874,7 @@ dissect_query_records(tvbuff_t *tvb, int cur_off, int dns_data_offset,
|
|||
|
||||
while (count-- > 0) {
|
||||
add_off = dissect_dns_query(tvb, cur_off, dns_data_offset, pinfo, qatree,
|
||||
is_mdns, &is_multiple_responds);
|
||||
is_mdns, is_multiple_responds);
|
||||
cur_off += add_off;
|
||||
}
|
||||
proto_item_set_len(ti, cur_off - start_off);
|
||||
|
|
Loading…
Reference in New Issue