Bug#752845: decode Net::DNS::DomainName

2014-07-02 Thread Werner Detter
Hi Willem, thanks for your answer/reply on this issue and pointing out the "offical" replacement for "dn_expand()". In the long run it probably would make sense using Net::DNS::DomainName::decode but this requires some more changes to policyd-weight. I've replaced obsolete "dh_expand()" function

Bug#752845: decode Net::DNS::DomainName

2014-07-01 Thread Willem Toorop
Hi Werner, Net::DNS::DomainName::decode is the "official" replacement for Net::DNS::Packet::dn_expand: $object = decode Net::DNS::DomainName( \$buffer, $offset, $hash ); ( $object, $next ) = decode Net::DNS::DomainName( \$buffer, $offset, $hash ); Crea