diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php index b17a94a..e278892 100755 --- a/usr/local/www/interfaces_assign.php +++ b/usr/local/www/interfaces_assign.php @@ -140,7 +140,18 @@ if ($_GET['act'] == "del") { write_config(); + /* move all the interfaces up. for example: + * opt1 --> opt1 + * opt2 --> delete + * opt3 --> opt2 + * opt4 --> opt3 + */ + cleanup_opt_interfaces_after_removal($i); + + parse_config(true); + $savemsg = "Interface has been deleted."; + } if ($_GET['act'] == "add") { |