diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 19:51:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 19:51:10 +0000 |
commit | 2e70a09691ff4ed0d24850e3e6c965223ec30465 (patch) | |
tree | b46f02737dd5ae32ae9cfbba574874c509367ade /usr/local | |
parent | e4e8c30f582a34bcdbef89903bc5581bec89940b (diff) | |
download | pfsense-2e70a09691ff4ed0d24850e3e6c965223ec30465.zip pfsense-2e70a09691ff4ed0d24850e3e6c965223ec30465.tar.gz |
Flush buffers before reloading interface specific items
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces.php | 5 | ||||
-rwxr-xr-x | usr/local/www/interfaces_lan.php | 4 | ||||
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 5 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 5 |
4 files changed, 19 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 7f70ab0..d22671d 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -698,6 +698,11 @@ type_change(); if ($_POST) { if (!$input_errors) { + + ob_flush(); + flush(); + sleep(1); + interfaces_wan_configure(); /* sync filter configuration */ diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php index 4209752..20f43a4 100755 --- a/usr/local/www/interfaces_lan.php +++ b/usr/local/www/interfaces_lan.php @@ -256,6 +256,10 @@ function enable_change(enable_over) { if ($_POST['apply'] <> "") { + ob_flush(); + flush(); + sleep(1); + interfaces_lan_configure(); /* sync filter configuration */ diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index b100a27..b7d1b3a 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -422,6 +422,11 @@ enable_change(false); if ($_POST) { if (!$input_errors) { + + ob_flush(); + flush(); + sleep(1); + interfaces_optional_configure_if($index); /* sync filter configuration */ diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 7f70ab0..d22671d 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -698,6 +698,11 @@ type_change(); if ($_POST) { if (!$input_errors) { + + ob_flush(); + flush(); + sleep(1); + interfaces_wan_configure(); /* sync filter configuration */ |