Fixed another bug

This commit is contained in:
Maff 2014-02-11 15:06:05 +00:00
parent 64d406e2ba
commit f91f2a80e2
1 changed files with 2 additions and 2 deletions

View File

@ -243,5 +243,5 @@ if(defined $domain) {
print "rDNS set.\n";
}
do_sync $ip if (($made_modifications and !$nosync) or $fsync);
my $domain = $def_rdns unless defined $domain;
print ((confirm_rdns $ip, $domain) ? "rDNS for IP $ip was successfully set to $domain." : "rDNS for IP $ip not yet resolving to $domain (check later with: host $ip)") if $verify;
my $domain = $def_rdns if $reset;
print ((confirm_rdns $domain, $ip) ? "rDNS for IP $ip was successfully set to $domain." : "rDNS for IP $ip not yet resolving to $domain (check later with: host $ip)") if $verify;