Added a few more UNKNOWN_HOST types.

This commit is contained in:
Jeremy Fincher 2005-03-14 02:32:48 +00:00
parent 5fe4730dcb
commit c598e4cca9

View File

@ -66,7 +66,7 @@ def strError(e):
return TIMED_OUT
elif n == 104:
return RESET_BY_PEER
elif n in (8, 3, 2):
elif n in (8, 7, 3, 2, -2):
return UNKNOWN_HOST
elif n == 403:
return FORBIDDEN