Branch: Tag:

2003-04-22

2003-04-22 21:56:43 by Martin Nilsson <mani@lysator.liu.se>

IPv6 bugfix.

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.75

1: - // $Id: DNS.pmod,v 1.74 2003/04/22 20:55:42 nilsson Exp $ + // $Id: DNS.pmod,v 1.75 2003/04/22 21:56:43 nilsson Exp $   // Not yet finished -- Fredrik Hubinette      //! Domain Name System
376:    m->a=sprintf("%{.%d%}",values(s[next[0]..next[0]+m->len-1]))[1..];    break;    case T_AAAA: -  m->a=sprintf("%{:%X%}",values(s[next[0]..next[0]+m->len-1]))[1..]; +  m->a=sprintf("%{:%02X%02X%}", +  values(s[next[0]..next[0]+m->len-1])/2)[1..];    break;    case T_SOA:    m->mname=decode_domain(s,next);