Commit f20f0c91 authored by Franco Fichtner's avatar Franco Fichtner

filter: Null4 and Null6 are special keywords, patch route-to for now

parent ebdc35c5
...@@ -175,6 +175,10 @@ class FilterRule ...@@ -175,6 +175,10 @@ class FilterRule
{ {
if (!empty($this->gatewayMapping[$value]['logic'])) { if (!empty($this->gatewayMapping[$value]['logic'])) {
return " " . $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 { } else {
return ""; return "";
} }
......
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