diff options
author | Colin Smith <colin@pfsense.org> | 2005-06-18 21:14:35 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-06-18 21:14:35 +0000 |
commit | b9496b5fd8c8e7160278eb85c5af1fc1f742cd52 (patch) | |
tree | d04565e08bad3e16b7f65d7841d922234afeae90 /etc | |
parent | 4db5e0bca23027c443fcd7d48e394ded458afb14 (diff) | |
download | pfsense-b9496b5fd8c8e7160278eb85c5af1fc1f742cd52.zip pfsense-b9496b5fd8c8e7160278eb85c5af1fc1f742cd52.tar.gz |
parse_xml_config_pkg -> parse_xml_config
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 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)"); |