Commit e17d4515 authored by Franco Fichtner's avatar Franco Fichtner

src: more style fixes

parent fff73b51
...@@ -101,7 +101,8 @@ class InterfaceField extends BaseField ...@@ -101,7 +101,8 @@ class InterfaceField extends BaseField
} }
/** /**
* set filters to use (in regex) per field, all tags are combined and cached for the next object using the same filters * set filters to use (in regex) per field, all tags are combined
* and cached for the next object using the same filters
* @param $filters filters to use * @param $filters filters to use
*/ */
public function setFilters($filters) public function setFilters($filters)
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
*/ */
namespace OPNsense\Base\FieldTypes; namespace OPNsense\Base\FieldTypes;
use OPNsense\Base\Validators\NetworkValidator; use OPNsense\Base\Validators\NetworkValidator;
/** /**
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
*/ */
namespace OPNsense\Base\FieldTypes; namespace OPNsense\Base\FieldTypes;
use Phalcon\Validation\Validator\InclusionIn; use Phalcon\Validation\Validator\InclusionIn;
/** /**
...@@ -43,11 +42,53 @@ class PortField extends BaseField ...@@ -43,11 +42,53 @@ class PortField extends BaseField
*/ */
protected $internalIsContainer = false; protected $internalIsContainer = false;
private static $wellknownservices = array('cvsup','domain','ftp','hbci','http','https','aol','auth','imap','imaps', private static $wellknownservices = array(
'ipsec-msft','isakmp','l2f','ldap','ms-streaming','afs3-fileserver','microsoft-ds','ms-wbt-server','wins', 'cvsup',
'msnp','nntp','ntp','netbios-dgm','netbios-ns','netbios-ssn','openvpn','pop3','pop3s','pptp','radius', 'domain',
'radius-acct','avt-profile-1','sip','smtp','igmpv3lite','urd','snmp','snmptrap','ssh','nat-stun-port','submission', 'ftp',
'teredo','telnet','tftp','rfb'); 'hbci',
'http',
'https',
'aol',
'auth',
'imap',
'imaps',
'ipsec-msft',
'isakmp',
'l2f',
'ldap',
'ms-streaming',
'afs3-fileserver',
'microsoft-ds',
'ms-wbt-server',
'wins',
'msnp',
'nntp',
'ntp',
'netbios-dgm',
'netbios-ns',
'netbios-ssn',
'openvpn',
'pop3',
'pop3s',
'pptp',
'radius',
'radius-acct',
'avt-profile-1',
'sip',
'smtp',
'igmpv3lite',
'urd',
'snmp',
'snmptrap',
'ssh',
'nat-stun-port',
'submission',
'teredo',
'telnet',
'tftp',
'rfb'
);
/** /**
* @var array collected options * @var array collected options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment