Skip to content

Commit d51070f

Browse files
committed
Add ipv6 localhost to drb allow list
1 parent 8022777 commit d51070f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/bisect/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def capture_run_results(files_or_directories_to_run=[], expected_failures=[])
3333

3434
def start
3535
# Only allow remote DRb requests from this machine.
36-
DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 ])
36+
DRb.install_acl ACL.new(%w[ deny all allow localhost allow 127.0.0.1 allow ::1 ])
3737

3838
# We pass `nil` as the first arg to allow it to pick a DRb port.
3939
@drb = DRb.start_service(nil, self)

0 commit comments

Comments
 (0)