summaryrefslogtreecommitdiffstats
path: root/etc/rc.filter_configure
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-26 18:42:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-26 18:42:59 +0000
commit36eab901b36d7a469bd729458b6a9f620e0f0a77 (patch)
treeda059e5a405cff7a9152f8bc1b600a999b84343a /etc/rc.filter_configure
parentcb589a4958871d53057d1eb5b38855135a60394c (diff)
downloadpfsense-36eab901b36d7a469bd729458b6a9f620e0f0a77.zip
pfsense-36eab901b36d7a469bd729458b6a9f620e0f0a77.tar.gz
Invalidate the cache before reloading filter.
OpenVPN will bring up a tunX interface and we need to be able to see it to add the correct filter rules.
Diffstat (limited to 'etc/rc.filter_configure')
-rwxr-xr-xetc/rc.filter_configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.filter_configure b/etc/rc.filter_configure
index 2c20102..2f34d15 100755
--- a/etc/rc.filter_configure
+++ b/etc/rc.filter_configure
@@ -32,7 +32,10 @@
require_once("config.inc");
require_once("filter.inc");
+/* invalidate interface cache */
+get_interface_arr(true);
+
unlink_if_exists("/tmp/config.cache");
filter_configure();
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud