summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 18:04:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 18:04:30 +0000
commit6d50196127d86998b8471497439381e9c8742bbf (patch)
treebc01fd8ed5e9465f3fe6dedb951eff2bf73d664b /etc
parent014beac3134b7fd2c7af3fe008940c946ff6d546 (diff)
downloadpfsense-6d50196127d86998b8471497439381e9c8742bbf.zip
pfsense-6d50196127d86998b8471497439381e9c8742bbf.tar.gz
Accept the area that will be backed up instead of deafulting to filter.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9b6c8d2..00f86d9 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -723,7 +723,7 @@ function is_service_running($service_name) {
*/
function backup_config_section($section) {
global $config;
- $new_section = &$config['filter'];
+ $new_section = &$config[$section];
/* generate configuration XML */
$xmlconfig = dump_xml_config($new_section, $section);
return $xmlconfig;
OpenPOWER on IntegriCloud