summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 15:43:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 15:43:35 +0000
commit19a14ce7d4f883d92f1b7e5058fb156d5177f8fe (patch)
tree820b836ef3b6b7908a26583edf027832bad898f1 /etc/inc
parent1b0e4b4cc0cb98b9b6b1c3b4bdd3d602af91a76a (diff)
downloadpfsense-19a14ce7d4f883d92f1b7e5058fb156d5177f8fe.zip
pfsense-19a14ce7d4f883d92f1b7e5058fb156d5177f8fe.tar.gz
Invalidate the cache before reloading the filter. On bootup the interface list is being cached and we need to detect tun0 coming up for OpenVPN.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index e5c134e..91a8a98 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -72,6 +72,8 @@ function filter_configure() {
function filter_configure_sync() {
global $config, $g, $after_filter_configure_run;
update_filter_reload_status("Initializing");
+ /* invalidate interface cache */
+ get_interface_arr(true);
if(isset($config['system']['developerspew'])) {
$mt = microtime();
echo "filter_configure_sync() being called $mt\n";
OpenPOWER on IntegriCloud