1
--- maradns-1.3.08/tools/askmara-tcp.c 2007-09-21 07:07:49.000000000 -0500
2
+++ maradns-1.3.09/tools/askmara-tcp.c 2007-10-12 09:00:30.000000000 -0500
4
L_DOT,*(uindata->string + *place + 2),
5
L_DOT,*(uindata->string + *place + 3),L_NEWLINE,L_NEWLINE);
7
+ else if(rr_hdr.type == RR_AAAA) {
9
+ if(uindata->unit_count < *place + 16)
11
+ /* Display the IP of the data */
12
+ /* Display the IP of the data */
13
+ p = (unsigned short*)(uindata->string + *place);
14
+ printf("%s%d%x:%x:%x:%x:%x:%x:%x:%x%s%s",L_IP,*(uindata->string + *place),
22
+ htons(*(p + 7)),L_NEWLINE,L_NEWLINE);
24
else if(rr_hdr.type == RR_TXT) {
25
printf("%s",L_TXT); /* Text String */
26
read_txt(uindata,mx.exchange,*place);
28
escape_stdout(rr_hdr.name);
29
/* We also show the type if this is an unsupported record type */
30
if(rr_hdr.type != RR_A &&
31
+ rr_hdr.type != RR_AAAA &&
32
rr_hdr.type != RR_NS &&
33
rr_hdr.type != RR_CNAME &&
34
rr_hdr.type != RR_SOA &&
36
L_DOT,*(uindata->string + *place + 2),
37
L_DOT,*(uindata->string + *place + 3));
39
+ else if(rr_hdr.type == RR_AAAA) {
41
+ if(uindata->unit_count < *place + 16)
43
+ /* Display the IP of the data */
44
+ /* Display the IP of the data */
45
+ p = (unsigned short*)(uindata->string + *place);
46
+ printf("|%x:%x:%x:%x:%x:%x:%x:%x\n",
56
else if(rr_hdr.type == RR_TXT) {
58
read_txt(uindata,mx.exchange,*place);