Firewall, remove duplicate code

This commit is contained in:
Ad Schellevis 2018-01-12 17:44:30 +01:00
parent d944d0d2ff
commit e433bfbb28

View File

@ -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