From 7e653b50c4a25b045121c026cd09ac4e567c0c42 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Sat, 7 May 2016 13:48:38 -0400 Subject: [PATCH] Fixed #6331 --- src/usr/local/www/interfaces.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 4a45e75d9b..b7df85b098 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -456,7 +456,7 @@ if ($_POST['apply']) { /* call interface_track6_configure with linkup true so IPv6 IPs are added back. dhcp6c needs a HUP. Can't just call interface_configure with linkup true as - that skips bridge membership addition. + that skips bridge membership addition. */ $wancfg = $config['interfaces'][$ifapply]; interface_track6_configure($ifapply, $wancfg, true); @@ -1788,7 +1788,7 @@ if (count($mediaopts_list) > 0) { $section->addInput(new Form_Select( 'mediaopt', 'Speed and Duplex', - rtrim($mediaopt_from_config), + rtrim($config['interfaces'][$if]['media'] . ' ' . $config['interfaces'][$if]['mediaopt']), build_mediaopts_list() ))->setHelp('Explicitly set speed and duplex mode for this interface.' . '
' . 'WARNING: MUST be set to autoselect (automatically negotiate speed) unless the port this interface connects to has its speed and duplex forced.');