summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-16 22:51:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-16 22:51:53 +0000
commit092ac49dfce3de9e7b33a3c2c52fa5f43b2a3159 (patch)
tree1494a9bd5a86cc41efb5b0dd682fc6fda9df4947 /etc
parentfdeae6856750e24fd82f8439702997e61c849f6f (diff)
downloadpfsense-092ac49dfce3de9e7b33a3c2c52fa5f43b2a3159.zip
pfsense-092ac49dfce3de9e7b33a3c2c52fa5f43b2a3159.tar.gz
* Do not output alias javascript array unless its an array
* Add return interface for return gateway
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 0e097f5..974f40c 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1351,7 +1351,8 @@ EOD;
}
if($rule['returngateway'] <> "") {
- $line .= "reply-to " . $rule['returngateway'] . " ";
+ $return_interface = filter_translate_type_to_real_interface($rule['returninterface']);
+ $line .= "reply-to (" . $return_interface . " " . $rule['returngateway'] . ") ";
}
if (isset($rule['protocol'])) {
OpenPOWER on IntegriCloud