Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
03958ad4
Commit
03958ad4
authored
Dec 19, 2012
by
Mark Andrews
Browse files
3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
parent
b6f22cc3
Changes
6
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
03958ad4
3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13.
3440. [bug] Reorder get_key_struct to not trigger a assertion when
...
...
bin/tests/system/ans.pl
View file @
03958ad4
...
...
@@ -107,9 +107,16 @@ $SIG{TERM} = \&rmpid;
my
@rules
;
sub
handleUDP
{
my
(
$buf
)
=
@_
;
my
$request
;
my
(
$request
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$request
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$request
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
my
@questions
=
$request
->
question
;
my
$qname
=
$questions
[
0
]
->
qname
;
...
...
@@ -288,9 +295,16 @@ sub sign_tcp_continuation {
sub
handleTCP
{
my
(
$buf
)
=
@_
;
my
$request
;
my
(
$request
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$request
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$request
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
my
@questions
=
$request
->
question
;
my
$qname
=
$questions
[
0
]
->
qname
;
...
...
bin/tests/system/resolver/ans2/ans.pl
View file @
03958ad4
...
...
@@ -42,8 +42,16 @@ for (;;) {
print
"
**** request from
"
,
$sock
->
peerhost
,
"
port
",
$sock
->
peerport
,
"
\n
";
my
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
my
$packet
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$packet
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
print
"
REQUEST:
\n
";
$packet
->
print
;
...
...
bin/tests/system/resolver/ans3/ans.pl
View file @
03958ad4
...
...
@@ -42,8 +42,16 @@ for (;;) {
print
"
**** request from
"
,
$sock
->
peerhost
,
"
port
",
$sock
->
peerport
,
"
\n
";
my
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
my
$packet
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$packet
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
print
"
REQUEST:
\n
";
$packet
->
print
;
...
...
bin/tests/system/statistics/ans4/ans.pl
View file @
03958ad4
...
...
@@ -41,8 +41,16 @@ for (;;) {
print
"
**** request from
"
,
$sock
->
peerhost
,
"
port
",
$sock
->
peerport
,
"
\n
";
my
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
my
$packet
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$packet
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
print
"
REQUEST:
\n
";
$packet
->
print
;
...
...
bin/tests/system/upforwd/ans4/ans.pl
View file @
03958ad4
...
...
@@ -98,9 +98,16 @@ $SIG{TERM} = \&rmpid;
my
@rules
;
sub
handleUDP
{
my
(
$buf
)
=
@_
;
my
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
my
$packet
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$packet
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
$packet
->
header
->
qr(1)
;
$packet
->
header
->
aa
(
1
);
...
...
@@ -243,9 +250,16 @@ sub sign_tcp_continuation {
sub
handleTCP
{
my
(
$buf
)
=
@_
;
my
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
my
$packet
;
if
(
$
Net::DNS::
VERSION
>
0.68
)
{
$packet
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$@
and
die
$@
;
}
else
{
my
$err
;
(
$packet
,
$err
)
=
new
Net::DNS::
Packet
(
\
$buf
,
0
);
$err
and
die
$err
;
}
$packet
->
header
->
qr(1)
;
$packet
->
header
->
aa
(
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment