Subject: | SRV rdatastr broken |
Net::DNS::RR::SRV rdatastr broken with priority == 0.
--- Net/DNS/RR/SRV.pm.orig Thu May 13 13:14:34 2004
+++ Net/DNS/RR/SRV.pm Thu May 13 13:14:50 2004
@@ -42,7 +42,7 @@
my $self = shift;
my $rdatastr;
- if ($self->{"priority"}) {
+ if (defined($self->{"priority"})) {
$rdatastr = join(' ', @{$self}{qw(priority weight port target)});
} else {
$rdatastr = '';