From 12886b41977625b8d9dc14cd2f4d9fcaee3914f3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 24 Jul 2005 23:45:36 +0000 Subject: Use parse_config() Suggested-by: colin --- etc/inc/pfsense-utils.inc | 6 +++--- 1 file 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(); -- cgit v1.1