mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
dhcp: use same logic as menu figuring out if dhcpv6 is reachable; closes #4406
This commit is contained in:
parent
09659ff25b
commit
4dbc220490
@ -488,7 +488,9 @@ endif;?>
|
||||
</td>
|
||||
<td><?=$data['act'];?></td>
|
||||
<td class="text-nowrap">
|
||||
<?php if (!empty($data['if'])): ?>
|
||||
<?php if (!empty($config['interfaces'][$data['if']])): ?>
|
||||
<?php if (empty($config['interfaces'][$data['if']]['virtual']) && isset($config['interfaces'][$data['if']]['enable'])): ?>
|
||||
<?php if (is_ipaddrv6($config['interfaces'][$data['if']]['ipaddrv6']) || !empty($config['interfaces'][$data['if']]['dhcpd6track6allowoverride'])): ?>
|
||||
<?php if ($data['type'] == 'dynamic'): ?>
|
||||
<a class="btn btn-default btn-xs" href="services_dhcpv6_edit.php?if=<?=$data['if'];?>&duid=<?=$data['duid'];?>&hostname=<?=$data['hostname'];?>">
|
||||
<i class="fa fa-plus fa-fw"></i>
|
||||
@ -499,6 +501,8 @@ endif;?>
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user