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

This commit is contained in:
Franco Fichtner 2017-07-10 10:43:27 +02:00
parent ebdc35c550
commit f20f0c91fa

View File

@ -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 "";
}