index 274424ab5180bf77f548ce68faa0edea308341b4..252d990625785d8aed6e22230306bff37097b08f 100644 (file)
}
}
+ /* Updated IP host number */
+ if($this->dhcp_is_Account){
+ foreach($this->dhcpHostEntry['dhcpStatements'] as $id => $value){
+ if(preg_match("/^fixed-address/",$value)){
+ $this->dhcpHostEntry['dhcpStatements'][$id] = "fixed-address ".$this->ipHostNumber;
+ $this->dhcpHostEntry['MODIFIED'] = TRUE;
+ }
+ }
+ }
/* Unset dhcpStatements if this attribute is empty */
if(isset($this->dhcpHostEntry['dhcpStatements']) &&