diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 00:01:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-04 00:01:26 +0000 |
commit | 01f3ce68073f4ec602dbaddc025d5ac56461eea3 (patch) | |
tree | 86be792c19a8bfc23203413d43fcf9be9385e3fb /etc/inc | |
parent | f6605fae98cf4e482b6c9cb2758a27901babbd01 (diff) | |
download | pfsense-01f3ce68073f4ec602dbaddc025d5ac56461eea3.zip pfsense-01f3ce68073f4ec602dbaddc025d5ac56461eea3.tar.gz |
Set $curwanip
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 4cfe75e..1e6750f 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -736,6 +736,8 @@ function generate_user_filter_rule($rule, $ngcounter) { $optcfg = array(); generate_optcfg_array($optcfg); + $curwanip = get_current_wan_address(); + /* don't include disabled rules */ if (isset($rule['disabled'])) { return "# rule " . $rule['descr'] . " disabled \n"; |