summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-16 21:22:23 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-16 21:22:23 +0000
commitc5e4867195412b0a36b7f6fd4024b8f3223bf630 (patch)
tree956cc0b4cf7dc49c26b70fac18098f03abd2e195
parentc7ca6a31e4cb3ee1904bf953f69eb72cd99ba766 (diff)
downloaddrakx-net-c5e4867195412b0a36b7f6fd4024b8f3223bf630.tar
drakx-net-c5e4867195412b0a36b7f6fd4024b8f3223bf630.tar.gz
drakx-net-c5e4867195412b0a36b7f6fd4024b8f3223bf630.tar.bz2
drakx-net-c5e4867195412b0a36b7f6fd4024b8f3223bf630.tar.xz
drakx-net-c5e4867195412b0a36b7f6fd4024b8f3223bf630.zip
Support editing MTU value (#45394).
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 86282b2..7b00495 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- connection manager:
+ o allow editing MTU value (#45394)
- cellular backend:
o support large PIN (from 4 to 8 digits) (#46972)
- net_monitor:
diff --git a/lib/network/connection.pm b/lib/network/connection.pm
index 3a36741..65d8cb0 100644
--- a/lib/network/connection.pm
+++ b/lib/network/connection.pm
@@ -240,6 +240,8 @@ sub get_control_settings {
{ text => N("Allow users to manage the connection"), val => \$self->{control}{userctl}, type => "bool" },
{ text => N("Start the connection at boot"), val => \$self->{control}{onboot}, type => "bool" },
{ label => N("Metric"), val => \$self->{control}{metric}, advanced => 1 },
+ { label => N("MTU"), val => \$self->{control}{mtu}, advanced => 1,
+ help => N("Maximum size of network message (MTU). If unsure, left blank.") },
];
}