mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
Firewall, remove duplicate code
This commit is contained in:
parent
d944d0d2ff
commit
e433bfbb28
@ -69,25 +69,6 @@ class ForwardRule extends Rule
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* output parsing
|
||||
* @param string $value field value
|
||||
* @return string
|
||||
*/
|
||||
protected function parseIsComment($value)
|
||||
{
|
||||
return !empty($value) ? "#" : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* parse comment
|
||||
* @param string $value field value
|
||||
* @return string
|
||||
*/
|
||||
protected function parseComment($value)
|
||||
{
|
||||
return !empty($value) ? "# " . $value : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* search interfaces without a gateway other then the one provided
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user