diff --git a/bash_completion.d/r53update b/bash_completion.d/r53update index d87f78a..bdb6972 100644 --- a/bash_completion.d/r53update +++ b/bash_completion.d/r53update @@ -1,6 +1,6 @@ #!/usr/bin/bash # -# R53Update Dynamic DNS Updater v0.4.0 +# R53Update Dynamic DNS Updater v0.4.1 # (C)2014 Takuya Sawada All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/r53update b/r53update index 5b0dead..b39144e 100755 --- a/r53update +++ b/r53update @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# R53Update Dynamic DNS Updater v0.4.0 +# R53Update Dynamic DNS Updater v0.4.1 # (C)2014 Takuya Sawada All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -295,11 +295,11 @@ class R53UpdateApp(App): change = changes.add_change('UPSERT', fqdn, 'A', self._opts.ttl) for gip in gips: - change.add_value(ip) + change.add_value(gip) changes.commit() - self.logger.info('update A records of \'%s\' with \'%s\'' % (fqdn, ip)) + self.logger.info('update A records of \'%s\' with \'%s\'' % (fqdn, gip)) def _run(self): fqdn = '%s.%s' % (self._opts.host, self._opts.zone) @@ -326,7 +326,7 @@ class R53UpdateApp(App): def show_version(self): print >>sys.stderr, "Copyrights (c)2014 Takuya Sawada All rights reserved." - print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.4.0" + print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.4.1" if __name__ == '__main__':