示例#1
0
 public function setNetmask($netmask)
 {
     if (is_int($netmask) and Network::isValidNetmask($netmask, $this->getIpv())) {
         $this->netmask = $netmask;
     }
 }