diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-14 23:03:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-14 23:03:49 +0000 |
commit | 865cd2fb5fb9a59ea29cb76dcd961f9efd716d66 (patch) | |
tree | eb09e4ce101bc81a058da22146f8bc1295536157 /etc | |
parent | 7c961207e7bff81ab6ba069dbbd2d3c9d22d7d16 (diff) | |
download | pfsense-865cd2fb5fb9a59ea29cb76dcd961f9efd716d66.zip pfsense-865cd2fb5fb9a59ea29cb76dcd961f9efd716d66.tar.gz |
woops, use the friendly interface name, not the interface description.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index b692f11..9fe8b07 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -599,7 +599,7 @@ function filter_nat_rules_generate() { /* build an array of interfaces to work with */ $iflist = array("lan" => "LAN"); for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) - $iflist['opt' . $i] = $config['interfaces']['opt' . $i]['descr']; + $iflist['opt' . $i] = "opt{$i}"; $interface_counter = 0; /* loop through all interfaces and handle pftpx redirections */ foreach ($iflist as $ifent => $ifname) { |