attempt to autodetect when ipv6 is available
ClosedPublic

Authored by seigo on May 24 2017, 1:14 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rGeafa6a43b2a5: attempt to autodetect when ipv6 is available
Summary

look for at least one ipv6 address on the system, and if there is
one then enable ipv6 connections. otherwise .. don't.

to help with system where ipv6 is completely disabled.

Test Plan

Tested locally by turning ipv6 off with:

sysctl -w net.ipv6.conf.default.disable_ipv6=1; sysctl -w net.ipv6.conf.all.disable_ipv6=1

and back on with the opposite commands.

Diff Detail

Repository
rG guam
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
seigo created this revision.May 24 2017, 1:14 PM
Closed by commit rGeafa6a43b2a5: attempt to autodetect when ipv6 is available (authored by Aaron Seigo <seigo@kolabsystems.com>). · Explain WhyMay 24 2017, 1:23 PM
This revision was automatically updated to reflect the committed changes.