From cbe3ea96403e554822bd4675cb5565d20ab55fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sat, 21 Jun 2008 14:44:30 +0000 Subject: Continue interface improvements --- usr/local/www/diag_backup.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/www/diag_backup.php') diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 165c203..5dde859 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -171,6 +171,8 @@ if ($_POST) { if($config['system']['gateway'] <> "") $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; -- cgit v1.1