mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
filter: Null4 and Null6 are special keywords, patch route-to for now
This commit is contained in:
parent
ebdc35c550
commit
f20f0c91fa
@ -175,6 +175,10 @@ class FilterRule
|
||||
{
|
||||
if (!empty($this->gatewayMapping[$value]['logic'])) {
|
||||
return " " . $this->gatewayMapping[$value]['logic'] . " ";
|
||||
} elseif ($value === 'Null4') {
|
||||
return ' route-to ( lo0 127.0.0.1 )';
|
||||
} elseif ($value === 'Null6') {
|
||||
return ' route-to ( lo0 ::1 ) ';
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user