summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-01-18 21:24:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-01-18 21:24:42 +0000
commit8e11b23f541d3f9e8accaef1e55ca1b4ee2cfffd (patch)
tree887ac3aeb1c18a25ba75b46777938061f38f86d7 /usr/local
parent1b81cc49845be2aa03f4812f354ad768c8df043a (diff)
downloadpfsense-8e11b23f541d3f9e8accaef1e55ca1b4ee2cfffd.zip
pfsense-8e11b23f541d3f9e8accaef1e55ca1b4ee2cfffd.tar.gz
On interface ip or gateway changes FreeBSD will remove routes related.
Ensure the routes are loaded back each time. MFC: After testing at ORU
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces.php6
-rwxr-xr-xusr/local/www/interfaces_lan.php3
-rwxr-xr-xusr/local/www/interfaces_opt.php6
-rwxr-xr-xusr/local/www/interfaces_wan.php6
4 files changed, 18 insertions, 3 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index d99f877..71bc7a1 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -1088,7 +1088,11 @@ if ($_POST) {
/* sync filter configuration */
filter_configure();
+
+ /* set up static routes */
+ system_routing_configure();
+
}
}
-?>
+?> \ No newline at end of file
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 8d87c5e..ad2867d 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -267,6 +267,9 @@ if ($_POST['apply'] <> "") {
/* sync filter configuration */
filter_configure();
+
+ /* set up static routes */
+ system_routing_configure();
if(file_exists($d_landirty_path))
unlink($d_landirty_path);
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index e57d773..9a6de95 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -520,6 +520,10 @@ if ($_POST) {
/* sync filter configuration */
filter_configure();
+
+ /* set up static routes */
+ system_routing_configure();
+
}
}
-?>
+?> \ No newline at end of file
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index d99f877..71bc7a1 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -1088,7 +1088,11 @@ if ($_POST) {
/* sync filter configuration */
filter_configure();
+
+ /* set up static routes */
+ system_routing_configure();
+
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud