about summary refs log tree commit homepage
path: root/lib/yahns/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/config.rb')
-rw-r--r--lib/yahns/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/config.rb b/lib/yahns/config.rb
index ebc3bda..01fcac7 100644
--- a/lib/yahns/config.rb
+++ b/lib/yahns/config.rb
@@ -187,7 +187,7 @@ class Yahns::Config # :nodoc:
       Integer === value or
         raise ArgumentError, "#{var}: not an integer: #{key}=#{value.inspect}"
     end
-    [ :ipv6only ].each do |key|
+    [ :ipv6only, :reuseport ].each do |key|
       (value = options[key]).nil? and next
       [ true, false ].include?(value) or
         raise ArgumentError, "#{var}: not boolean: #{key}=#{value.inspect}"