Commit 8d6d10fd authored by dmaclach@chromium.org's avatar dmaclach@chromium.org

Change linux NAT traversal default for Chromoting.

The NAT traversal default for all platforms is now true.


BUG=97689
TEST=None


Review URL: http://codereview.chromium.org/8423020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108181 0039d316-1c4b-4281-b951-d872f2087c98
parent 5662442a
......@@ -89,19 +89,7 @@ void NatPolicy::UpdateNatPolicy(base::DictionaryValue* new_policy) {
bool new_nat_enabled_state = false;
if (!new_policy->HasKey(kNatPolicyName)) {
// If unspecified, the default value of this policy is true.
//
// TODO(dmaclach): Currently defaults to false on Linux until
// we have policy in place. http://crbug.com/97689
#if defined(OS_WIN)
new_nat_enabled_state = true;
#elif defined(OS_MACOSX)
new_nat_enabled_state = true;
#elif defined(OS_LINUX)
new_nat_enabled_state = false;
#else
// Be conservative for now
new_nat_enabled_state = false;
#endif // defined(OS_WIN)
} else {
// Otherwise, try to parse the value and only change from false if we get
// a successful read.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment