diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-08 00:52:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-08 00:52:45 +0000 |
commit | 239c33c9f6b38b7859494552e863ed5720fbda23 (patch) | |
tree | 51c607e11eee8c16d1e7ef8167c04077f77b4b0e /etc | |
parent | 20e07eaaa8d05a8965cf04c335cc84e931bbd728 (diff) | |
download | pfsense-239c33c9f6b38b7859494552e863ed5720fbda23.zip pfsense-239c33c9f6b38b7859494552e863ed5720fbda23.tar.gz |
set $gateway too
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 61583ed..269c91a 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1359,6 +1359,7 @@ function generate_user_filter_rule($rule, $ngcounter) { if(stristr($rule['gateway'], "|") == true) { $split_ip = split("\|", $rule['gateway']); $rule['gateway'] = $split_ip[0]; + $gateway .= $rule['gateway'] . " "; } $int = guess_interface_from_ip($rule['gateway']); $line .= "(" . $int . " " . $gateway . ") "; |