mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 17:33:15 +01:00
Add ENETUNREACH to NET_ERRS
We shouldn't come up with a fatal error because of a ENETUNREACH when trying to contact the DNS server. Although this error shouldn't happen either. Fixes #89.
This commit is contained in:
parent
74e308a29f
commit
1dda9dd621
@ -54,7 +54,8 @@ cmd_to_name = {
|
|||||||
|
|
||||||
NET_ERRS = [errno.ECONNREFUSED, errno.ETIMEDOUT,
|
NET_ERRS = [errno.ECONNREFUSED, errno.ETIMEDOUT,
|
||||||
errno.EHOSTUNREACH, errno.ENETUNREACH,
|
errno.EHOSTUNREACH, errno.ENETUNREACH,
|
||||||
errno.EHOSTDOWN, errno.ENETDOWN]
|
errno.EHOSTDOWN, errno.ENETDOWN,
|
||||||
|
errno.ENETUNREACH]
|
||||||
|
|
||||||
|
|
||||||
def _add(l, elem):
|
def _add(l, elem):
|
||||||
|
Loading…
Reference in New Issue
Block a user