- Timestamp:
- 05/30/06 04:16:41 (6 years ago)
- File:
-
- 1 edited
-
branches/ithildin-1.1/modules/dns/packet.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-1.1/modules/dns/packet.c
r611 r735 76 76 } else { 77 77 /* try putting it together in bitstring format .. */ 78 #if 0 78 79 strcpy(s, "\\[x"); 79 80 s += 3; … … 82 83 s2[i] & 0xf); 83 84 strcat(s, "/128].ip6.arpa"); 85 #else 86 /* Trying alternate code here... */ 87 for (i = 15;i >= 0;i--) 88 sprintf(s + ((15 - i) * 4), "%x.%x.". 89 s2[i] & 0xf, (s2[i] >> 4) & 0xf); 90 strcat(s, "ip6.arpa"); 91 #endif 84 92 } 85 93 } else
Note: See TracChangeset
for help on using the changeset viewer.
