diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gun_tcp.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun_tcp.erl b/src/gun_tcp.erl index 16d9e15..ffca8df 100644 --- a/src/gun_tcp.erl +++ b/src/gun_tcp.erl @@ -91,6 +91,7 @@ try_connect([], _, _, _, _, Error) -> Error. maybe_exit({error, einval}) -> exit(badarg); +maybe_exit({error, eaddrnotavail}) -> exit(badarg); maybe_exit(Error) -> Error. -spec send(inet:socket(), iodata()) -> ok | {error, atom()}. |