Skip to content

Commit

Permalink
re-instated check for a match of existing and new IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Hamilton committed Apr 30, 2011
1 parent 7d4deff commit b295dc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/dyn-dnsimple.rb
Expand Up @@ -25,7 +25,6 @@ def self.refresh
end

def self.need_to_update?(record)
record.name == $config['hostname'] && record.record_type == "A"
# && record.content != $current_ip
record.name == $config['hostname'] && record.record_type == "A" && record.content != $current_ip
end
end

0 comments on commit b295dc5

Please sign in to comment.