~ubuntu-branches/debian/sid/policyd-weight/sid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: replace Net::DNS::Packet function dh_expand() with dh_expand_PP()
Origin: James Cloos <cloos@jhcloos.com> 
Author: Werner Detter <werner@aloah-from-hell.de>
DEP: 3
Bug-Debian: http://bugs.debian.org/752845
--- a/policyd-weight
+++ b/policyd-weight
@@ -69,7 +69,7 @@
 use Sys::Syslog qw(:DEFAULT setlogsock);
 use Net::DNS;
 use Net::IP;
-use Net::DNS::Packet qw(dn_expand);
+use Net::DNS::Packet;
 use IO::Socket::INET;
 use IO::Socket::UNIX;
 use IO::Select;
@@ -3587,7 +3587,7 @@
             my    ($id, $bf, $qc, $anc, $nsc, $arc, $qb) = 
             unpack('n   n    n    n     n     n     a*', $buf);
 
-            my ($dn, $offset) = dn_expand(\$qb, 0);
+            my ($dn, $offset) = Net::DNS::Packet::dn_expand_PP(\$qb, 0);
 
             if(($id && $anc) && ($id == $oid) && ($query eq $dn))
             {