diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 18:04:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-14 18:04:30 +0000 |
commit | 6d50196127d86998b8471497439381e9c8742bbf (patch) | |
tree | bc01fd8ed5e9465f3fe6dedb951eff2bf73d664b /etc | |
parent | 014beac3134b7fd2c7af3fe008940c946ff6d546 (diff) | |
download | pfsense-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.inc | 2 |
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; |