diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-06-21 14:52:03 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-06-21 14:52:03 +0000 |
commit | 7d4515cab0fe3731dbf2333ddb9a483fc0cb2c22 (patch) | |
tree | 426e3b1f549790a3fe3ba6effb565640ce4fa71c | |
parent | cbe3ea96403e554822bd4675cb5565d20ab55fa7 (diff) | |
download | pfsense-7d4515cab0fe3731dbf2333ddb9a483fc0cb2c22.zip pfsense-7d4515cab0fe3731dbf2333ddb9a483fc0cb2c22.tar.gz |
Continue interface improvements
-rwxr-xr-x | usr/local/www/diag_backup.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 5dde859..cf89350 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -172,10 +172,7 @@ if ($_POST) { $config['interfaces']['wan']['gateway'] = $config['system']['gateway']; unset($config['shaper']); /* optional if list */ - $ifdescrs = get_configured_interface_list(true); - /* build an interface collection */ - for ($j = 1; isset ($config['interfaces']['opt' . $j]); $j++) - $ifdescrs['opt' . $j] = "opt" . $j; + $ifdescrs = get_configured_interface_list(true, true); /* remove special characters from interface descriptions */ if(is_array($ifdescrs)) foreach($ifdescrs as $iface) |