Skip to content

Commit

Permalink
Merge branch 'pull/24'
Browse files Browse the repository at this point in the history
* Merging pull request apenwarr#24.
  • Loading branch information
Hasimir committed Jun 24, 2015
2 parents 0730639 + c1bec6c commit aa71b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _check_revdns(ip):
debug3('< %s\n' % r[0])
check_host(r[0])
found_host(r[0], ip)
except socket.herror, e:
except (socket.gaierror, socket.herror), e:
pass


Expand Down

0 comments on commit aa71b19

Please sign in to comment.