From c1bec6c541dd74e0dd5469e7371636de171c52d3 Mon Sep 17 00:00:00 2001 From: Randy Stauner Date: Mon, 23 Sep 2013 20:04:06 -0700 Subject: [PATCH] Also ignore gaierror on revdns check seems odd, but if it's just ignored, why not --- hostwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostwatch.py b/hostwatch.py index e2bdb2b..8d366c9 100644 --- a/hostwatch.py +++ b/hostwatch.py @@ -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