Commit 09d2dea7 authored by Ad Schellevis's avatar Ad Schellevis

filter, keep reply-to selection the same as it was

parent b296b956
...@@ -258,7 +258,7 @@ class FilterRule ...@@ -258,7 +258,7 @@ class FilterRule
*/ */
private function convertReplyTo(&$rule) private function convertReplyTo(&$rule)
{ {
if (!isset($rule['disablereplyto'])) { if (!isset($rule['disablereplyto']) && $rule['direction'] != 'any') {
$proto = $rule['ipprotocol']; $proto = $rule['ipprotocol'];
if (!empty($this->interfaceMapping[$rule['interface']]['if']) && empty($rule['gateway'])) { if (!empty($this->interfaceMapping[$rule['interface']]['if']) && empty($rule['gateway'])) {
$if = $this->interfaceMapping[$rule['interface']]['if']; $if = $this->interfaceMapping[$rule['interface']]['if'];
......
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