- if ( $nnet['is_primary'] == true )
- {
- $this->ip = $nnet['ip'];
- $this->netmask = $nnet['netmask'];
- $this->network = $nnet['network'];
- $this->gateway= $nnet['gateway'];
- $this->broadcast = $nnet['broadcast'];
- $this->dns1 = $nnet['dns1'];
- $this->dns2 = $nnet['dns2'];
- $this->method = $nnet['method'];
- $this->interface_id = $nnet['interface_id'];
- }
+ if ( $nnet['is_primary'] == true )
+ {
+ $this->ip = $nnet['ip'];
+ $this->netmask = $nnet['netmask'];
+ $this->network = $nnet['network'];
+ $this->gateway= $nnet['gateway'];
+ $this->broadcast = $nnet['broadcast'];
+ $this->dns1 = $nnet['dns1'];
+ $this->dns2 = $nnet['dns2'];
+ $this->method = $nnet['method'];
+ $this->interface_id = $nnet['interface_id'];
+ }