Skip to content

Commit

Permalink
Merge pull request zonemaster#1363 from tgreenx/fix-init-eq
Browse files Browse the repository at this point in the history
Fix undef eq comparison
  • Loading branch information
tgreenx authored Jun 17, 2024
2 parents 3501cc1 + 59b92d0 commit f1f3c07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Zonemaster/Engine/Profile.pm
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ my %profile_properties_details = (
unless ( $_[0] eq '' or validate_ipv4( $_[0] ) ) {
die "Property resolver.source4 must be a valid IPv4 address";
}
}
},
default => q{}
},
q{resolver.source6} => {
type => q{Str},
test => sub {
unless ( $_[0] eq '' or validate_ipv6( $_[0] ) ) {
die "Property resolver.source6 must be a valid IPv6 address";
}
}
},
default => q{}
},
q{net.ipv4} => {
type => q{Bool}
Expand Down

0 comments on commit f1f3c07

Please sign in to comment.