mirror of
https://github.com/opnsense/core.git
synced 2025-12-10 00:32:09 -06:00
mvc: style sweep and sync
This commit is contained in:
parent
5fa8831bec
commit
90ad76dd32
1
LICENSE
1
LICENSE
@ -20,7 +20,6 @@ Copyright (c) 2014-2025 Franco Fichtner <franco@opnsense.org>
|
||||
Copyright (c) 2004 Fred Mol <fredmol@xs4all.nl>
|
||||
Copyright (c) 2010 Gabriel B. <gnoahb@gmail.com>
|
||||
Copyright (c) 2016 IT-assistans Sverige AB
|
||||
Copyright (c) 2009 Janne Enberg <janne.enberg@lietu.net>
|
||||
Copyright (c) 2004 Jim McBeath
|
||||
Copyright (c) 2010-2012 Jim Pingle <jimp@pfsense.org>
|
||||
Copyright (c) 2012 Jonas von Andrian
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
*/
|
||||
|
||||
namespace OPNsense\Firewall\Api;
|
||||
|
||||
use OPNsense\Base\UserException;
|
||||
use OPNsense\Core\Config;
|
||||
use OPNsense\Firewall\Category;
|
||||
@ -208,6 +209,4 @@ class DNatController extends FilterBaseController
|
||||
|
||||
return ['status' => 'ok'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<network type=".\NetworkMappedField"/>
|
||||
<!-- volatile reads, but never writes back. it's used to populate network when address is used-->
|
||||
<address type=".\NetworkMappedField" volatile="true"/>
|
||||
<port type=".\PortMappedField">
|
||||
<port type=".\PortMappedField">
|
||||
<EnableWellKnown>Y</EnableWellKnown>
|
||||
<EnableRanges>Y</EnableRanges>
|
||||
<EnableAlias>Y</EnableAlias>
|
||||
@ -56,7 +56,7 @@
|
||||
<network type=".\NetworkMappedField"/>
|
||||
<!-- volatile reads, but never writes back. it's used to populate network when address is used-->
|
||||
<address type=".\NetworkMappedField" volatile="true"/>
|
||||
<port type=".\PortMappedField">
|
||||
<port type=".\PortMappedField">
|
||||
<EnableWellKnown>Y</EnableWellKnown>
|
||||
<EnableRanges>Y</EnableRanges>
|
||||
<EnableAlias>Y</EnableAlias>
|
||||
@ -114,4 +114,4 @@
|
||||
</updated>
|
||||
</rule>
|
||||
</items>
|
||||
</model>
|
||||
</model>
|
||||
|
||||
@ -30,7 +30,6 @@ namespace OPNsense\Firewall\FieldTypes;
|
||||
|
||||
use OPNsense\Base\FieldTypes\NetworkAliasField;
|
||||
|
||||
|
||||
class DNatAssociatedRuleField extends NetworkAliasField
|
||||
{
|
||||
protected $internalIsContainer = false;
|
||||
|
||||
@ -30,7 +30,6 @@ namespace OPNsense\Firewall\FieldTypes;
|
||||
|
||||
use OPNsense\Base\FieldTypes\NetworkAliasField;
|
||||
|
||||
|
||||
class NetworkMappedField extends NetworkAliasField
|
||||
{
|
||||
protected $internalIsContainer = false;
|
||||
|
||||
@ -30,7 +30,6 @@ namespace OPNsense\Firewall\FieldTypes;
|
||||
|
||||
use OPNsense\Base\FieldTypes\PortField;
|
||||
|
||||
|
||||
class PortMappedField extends PortField
|
||||
{
|
||||
protected $internalIsContainer = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user