From 95b53ec7247ad68ed4cb2425b396377312ea3dee Mon Sep 17 00:00:00 2001 From: juhlig Date: Mon, 20 May 2019 13:27:37 +0200 Subject: Add inet:local_address() to ranch_tcp ip option --- src/ranch_tcp.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl index a134844..764c4b8 100644 --- a/src/ranch_tcp.erl +++ b/src/ranch_tcp.erl @@ -50,7 +50,7 @@ | {high_watermark, non_neg_integer()} | inet | inet6 - | {ip, inet:ip_address()} + | {ip, inet:ip_address() | inet:local_address()} | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} -- cgit v1.2.3