summaryrefslogtreecommitdiffstats
path: root/lib/network/network.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-01-19 23:50:42 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-01-19 23:50:42 +0000
commit86393f41bc45f4e1f87771ad5bd4d510a0d30863 (patch)
tree41b2e1ffcbaaaa9c26e326ffd2d7dbe0b8cb2ab0 /lib/network/network.pm
parent2962ff3054e268200e8750f8b82dcd3a09926d0e (diff)
downloaddrakx-net-86393f41bc45f4e1f87771ad5bd4d510a0d30863.tar
drakx-net-86393f41bc45f4e1f87771ad5bd4d510a0d30863.tar.gz
drakx-net-86393f41bc45f4e1f87771ad5bd4d510a0d30863.tar.bz2
drakx-net-86393f41bc45f4e1f87771ad5bd4d510a0d30863.tar.xz
drakx-net-86393f41bc45f4e1f87771ad5bd4d510a0d30863.zip
- Added draknetadvanced to control advanced network parameters
such as IPv6 and TCP Window Scaling (#27070, #28829, #33623, #38662).
Diffstat (limited to 'lib/network/network.pm')
-rw-r--r--lib/network/network.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index 587efeb..8bb291d 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -435,6 +435,19 @@ sub netprofile_read {
}
+sub advanced_choose {
+ my ($in, $u) = @_;
+
+ my $use_http_for_https = $u->{https_proxy} eq $u->{http_proxy};
+ $in->ask_from(N("Advanced network settings"),
+ N("Here you can configure advanced network settings"),
+ [ { text => N("Disable IPv6"), val => \$u->{ipv6_disabled}, type => "bool" },
+ { text => N("Disable TCP Window Scaling"), val => \$u->{window_scaling}, type => "bool"},
+ ]
+ ) or return;
+ 1;
+}
+
sub miscellaneous_choose {
my ($in, $u) = @_;