From 04d26657a3402aed1c08997609167d5a14b42784 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 25 Oct 2008 21:17:54 +0000 Subject: If for some reason an invalid element gets written out in config.xml such as a blank fieldname, pfSense resstores the previous configuration. However after restoring the configuration the WAN looses its configuration, default gateway goes bye-bye, etc. Call reload_all() if we restore a backup to ensure that the firewall is left in a working state. --- etc/inc/config.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 044e6c6..c094e42 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -375,6 +375,7 @@ function restore_backup($file) { conf_mount_ro(); } config_unlock(); + reload_all(); } /****f* config/parse_config_bootup -- cgit v1.1