summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-24 23:45:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-24 23:45:36 +0000
commit12886b41977625b8d9dc14cd2f4d9fcaee3914f3 (patch)
tree5b33cb4011781c97cb44aef7ee8b8276f80226e5
parent4f1252d594ccb98c568805dd530dede38f70e1e2 (diff)
downloadpfsense-12886b41977625b8d9dc14cd2f4d9fcaee3914f3.zip
pfsense-12886b41977625b8d9dc14cd2f4d9fcaee3914f3.tar.gz
Use parse_config()
Suggested-by: colin
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 69a19c9..9be95da 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1020,7 +1020,7 @@ function reload_interfaces() {
unlink("{$g['tmp_path']}/config.cache");
/* parse config.xml again */
- parse_config_bootup();
+ $config = parse_config(true);
/* set up LAN interface */
interfaces_lan_configure();
@@ -1056,8 +1056,8 @@ function reload_all() {
unlink("{$g['tmp_path']}/config.cache");
/* parse config.xml again */
- parse_config_bootup();
-
+ $config = parse_config(true);
+
/* set up our timezone */
system_timezone_configure();
OpenPOWER on IntegriCloud