Commit 1eb3a2c5 authored by Sam Rushing's avatar Sam Rushing

Merge branch 'master' of github.com:ironport/shrapnel into eric-ssh

parents 0e4e4c7d 99379b6c
...@@ -267,7 +267,7 @@ class dns_cache: ...@@ -267,7 +267,7 @@ class dns_cache:
stype = coro.SOCK.STREAM stype = coro.SOCK.STREAM
else: else:
stype = coro.SOCK.DGRAM stype = coro.SOCK.DGRAM
s = coro.make_socket (stype, sfamily) s = coro.make_socket (sfamily, stype)
except OSError, why: except OSError, why:
self.log ('COMMON.APP_FAILURE', tb.traceback_string() + ' why: ' + str(why)) self.log ('COMMON.APP_FAILURE', tb.traceback_string() + ' why: ' + str(why))
raise DNS_Soft_Error, (qname, qtype, ip, str(why)) raise DNS_Soft_Error, (qname, qtype, ip, str(why))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment