summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppps.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/interfaces_ppps.php')
-rw-r--r--usr/local/www/interfaces_ppps.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_ppps.php b/usr/local/www/interfaces_ppps.php
index 63287b6..9c76179 100644
--- a/usr/local/www/interfaces_ppps.php
+++ b/usr/local/www/interfaces_ppps.php
@@ -62,6 +62,8 @@ if ($_GET['act'] == "del") {
if (ppp_inuse($_GET['id'])) {
$input_errors[] = "This point-to-point link cannot be deleted because it is still being used as an interface.";
} else {
+ unset($a_ppps[$_GET['id']]['pppoe-reset-type']);
+ handle_pppoe_reset($a_ppps[$_GET['id']]);
unset($a_ppps[$_GET['id']]);
write_config();
header("Location: interfaces_ppps.php");
OpenPOWER on IntegriCloud