diff options
Diffstat (limited to 'usr/local/www/interfaces_qinq.php')
-rwxr-xr-x | usr/local/www/interfaces_qinq.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php index b285fd9..84be902 100755 --- a/usr/local/www/interfaces_qinq.php +++ b/usr/local/www/interfaces_qinq.php @@ -68,10 +68,10 @@ if ($_GET['act'] == "del") { $delmembers = explode(" ", $qinq['members']); if (count($delmembers) > 0) { foreach ($delmembers as $tag) - mwexec("/usr/sbin/ngctl shutdown vlan{$qinq['tag']}h{$tag}:"); + mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}h{$tag}:"); } - mwexec("/usr/sbin/ngctl shutdown vlanh{$qinq['tag']}:"); - mwexec("/usr/sbin/ngctl shutdown {$qinq['if']}qinq:"); + mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}qinq:"); + mwexec("/usr/sbin/ngctl shutdown {$qinq['vlanif']}:"); unset($a_qinqs[$id]); write_config(); @@ -127,7 +127,7 @@ include("head.inc"); <td class="listr"> <?php if (strlen($qinq['members']) > 20) - echo substr(htmlspecialchars($qinq['members']), 1, 20) . "..."; + echo substr(htmlspecialchars($qinq['members']), 0, 20) . "..."; else echo htmlspecialchars($qinq['members']); ?> |