fixed range change if subnet is modified
This commit is contained in:
parent
95d93478ed
commit
56abe4267d
|
@ -253,7 +253,7 @@ class range extends baseModule {
|
||||||
if($tmp!=$this->ranges[$id]['range_start'])
|
if($tmp!=$this->ranges[$id]['range_start'])
|
||||||
$range_edit = true;
|
$range_edit = true;
|
||||||
}
|
}
|
||||||
if (!empty($this->ranges[$id]['range_end']) && !$this->check_subnet_range($this->ranges[$id]['range_start'],$dhcpAttrs['cn'][0])) {
|
if (!empty($this->ranges[$id]['range_end']) && !$this->check_subnet_range($this->ranges[$id]['range_end'],$dhcpAttrs['cn'][0])) {
|
||||||
// Range anpassen:
|
// Range anpassen:
|
||||||
$ex = explode(".", $this->ranges[$id]['range_end']);
|
$ex = explode(".", $this->ranges[$id]['range_end']);
|
||||||
$tmp = $this->ranges[$id]['range_end'];
|
$tmp = $this->ranges[$id]['range_end'];
|
||||||
|
|
Loading…
Reference in New Issue