aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dns.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-23 08:11:21 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-02-23 08:11:21 +0000
commit6c3540c21d3f3844ee9a364fc3ee97288bcf203b (patch)
treec366d37e5413715589074388a53918c113938974 /epan/dissectors/packet-dns.c
parent2cc520d8edf9bdfef3bd1a93d7d6ea6ed8e7c6dc (diff)
Fix for bug 4517:
DNS response address is also in network order. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31965 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dns.c')
-rw-r--r--epan/dissectors/packet-dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dns.c b/epan/dissectors/packet-dns.c
index c1a4d0e691..93cb0c55ce 100644
--- a/epan/dissectors/packet-dns.c
+++ b/epan/dissectors/packet-dns.c
@@ -1233,7 +1233,7 @@ dissect_dns_answer(tvbuff_t *tvb, int offsetx, int dns_data_offset,
col_append_fstr(cinfo, COL_INFO, " %s", ip_to_str(addr));
proto_item_append_text(trr, ", addr %s", ip_to_str(addr));
- proto_tree_add_item(rr_tree, hf_dns_rr_addr, tvb, cur_offset, 4, TRUE);
+ proto_tree_add_item(rr_tree, hf_dns_rr_addr, tvb, cur_offset, 4, FALSE);
if ((class & 0x7f) == C_IN) {
memcpy(&addr_int, addr, sizeof(addr_int));
@@ -3498,8 +3498,8 @@ proto_register_dns(void)
"Response Length", HFILL }},
{ &hf_dns_rr_addr,
{ "Addr", "dns.resp.addr",
- FT_IPv4, BASE_NONE, NULL, 0x0,
- "Response Address", HFILL }},
+ FT_IPv4, BASE_NONE, NULL, 0x0,
+ "Response Address", HFILL }},
{ &hf_dns_count_questions,
{ "Questions", "dns.count.queries",
FT_UINT16, BASE_DEC, NULL, 0x0,