summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-08 22:04:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-08 22:04:05 +0000
commitd7cb1aff0740421d52de2306a6469347608f0318 (patch)
tree1b2a3a429cf5440045ce1ee3522aaed39f5c3639 /etc
parentbdb4d0a17ac5ceb7593ec683c4644d6adeecbd1b (diff)
downloadpfsense-d7cb1aff0740421d52de2306a6469347608f0318.zip
pfsense-d7cb1aff0740421d52de2306a6469347608f0318.tar.gz
Use $gateway
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index f2a64e3..bbda672 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1359,7 +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'] . " ";
+ $gateway .= $split_ip[0] . " ";
}
$int = guess_interface_from_ip($gateway);
$line .= "(" . $int . " " . $gateway . ") ";
OpenPOWER on IntegriCloud