aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ranch_tcp.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl
index e8429a5..958b3f9 100644
--- a/src/ranch_tcp.erl
+++ b/src/ranch_tcp.erl
@@ -47,6 +47,7 @@
| inet
| inet6
| {ip, inet:ip_address()}
+ | {ipv6_v6only, boolean()}
| {keepalive, boolean()}
| {linger, {boolean(), non_neg_integer()}}
| {low_msgq_watermark, non_neg_integer()}
@@ -91,7 +92,7 @@ listen(Opts) ->
%% The 4-tuple 'raw' option is also handled specifically.
listen_options() ->
[backlog, buffer, delay_send, dontroute, exit_on_close, fd,
- high_msgq_watermark, high_watermark, ip,
+ high_msgq_watermark, high_watermark, ip, ipv6_v6only,
keepalive, linger, low_msgq_watermark,
low_watermark, nodelay, port, priority, recbuf,
send_timeout, send_timeout_close, sndbuf, tos].