mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
Revert "Pass current IP address to static lease creation. (#5318)"
This reverts commit f83a74d4961c2a0c0b3500d8092590fdb17f534f. The problem here is that people assign dynamic IP pool range address to static device but dhcpd doesn't care about the static assignment and will just hand out the IP again for a second device. Also see: #5810
This commit is contained in:
parent
228e74cd5f
commit
49ccb4ee56
@ -399,7 +399,7 @@ legacy_html_escape_form_data($leases);
|
||||
<td class="text-nowrap">
|
||||
<?php if (!empty($data['if'])): ?>
|
||||
<?php if ($data['type'] == 'dynamic'): ?>
|
||||
<a class="btn btn-default btn-xs" href="services_dhcp_edit.php?if=<?=$data['if'];?>&mac=<?=$data['mac'];?>&hostname=<?=$data['hostname'];?>&ipaddr=<?=$data['ip'];?>">
|
||||
<a class="btn btn-default btn-xs" href="services_dhcp_edit.php?if=<?=$data['if'];?>&mac=<?=$data['mac'];?>&hostname=<?=$data['hostname'];?>">
|
||||
<i class="fa fa-plus fa-fw" data-toggle="tooltip" title="<?=gettext("add a static mapping for this MAC address");?>"></i>
|
||||
</a>
|
||||
<?php if ($data['online'] != 'online'):?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user