From b4d363928691f872effec0f7406096b6c71b7bc0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 19 Oct 2009 22:19:57 -0400 Subject: Reload filter after applying (what if user changed the interface name, etc) --- usr/local/www/interfaces.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 930e775..fe841dc 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -249,6 +249,8 @@ if ($_POST['apply']) { setup_gateways_monitor(); clear_subsystem_dirty('staticroutes'); + + filter_configure(); } header("Location: interfaces.php?if={$if}"); exit; @@ -269,7 +271,7 @@ if ($_POST) { conf_mount_rw(); /* filter out spaces from descriptions */ $_POST['descr'] = remove_bad_chars($_POST['descr']); - /* okay first of all, cause we are just hidding the PPPoE HTML + /* okay first of all, cause we are just hiding the PPPoE HTML * fields releated to PPPoE resets, we are going to unset $_POST * vars, if the reset feature should not be used. Otherwise the * data validation procedure below, may trigger a false error -- cgit v1.1