summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-18 21:14:35 +0000
committerColin Smith <colin@pfsense.org>2005-06-18 21:14:35 +0000
commitb9496b5fd8c8e7160278eb85c5af1fc1f742cd52 (patch)
treed04565e08bad3e16b7f65d7841d922234afeae90 /etc
parent4db5e0bca23027c443fcd7d48e394ded458afb14 (diff)
downloadpfsense-b9496b5fd8c8e7160278eb85c5af1fc1f742cd52.zip
pfsense-b9496b5fd8c8e7160278eb85c5af1fc1f742cd52.tar.gz
parse_xml_config_pkg -> parse_xml_config
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 c954ae5..81b367b 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -679,7 +679,7 @@ function restore_config_section($section, $new_contents) {
$fout = fopen("{$g['tmp_path']}/tmpxml","w");
fwrite($fout, $new_contents);
fclose($fout);
- $section_xml = parse_xml_config_pkg($g['tmp_path'] . "/tmpxml", $section);
+ $section_xml = parse_xml_config($g['tmp_path'] . "/tmpxml", $section);
$config[$section] = &$section_xml;
unlink($g['tmp_path'] . "/tmpxml");
write_config("Restored {$section} of config file (maybe from CARP partner)");
OpenPOWER on IntegriCloud