summaryrefslogtreecommitdiffstats
path: root/lib/network/connection.pm
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 /lib/network/connection.pm
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).
Diffstat (limited to 'lib/network/connection.pm')
-rw-r--r--lib/network/connection.pm2
1 files changed, 2 insertions, 0 deletions
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.") },
];
}