summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-30 01:13:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-30 01:13:42 +0000
commit6bd75cda571303be802a9dc0e6fbd1d25d626e5e (patch)
tree4cfd22f46ce9814c511d1beb403c920df9fd46ac /etc
parente93c84671c744abc237c2c1f8b13c183939d235c (diff)
downloadpfsense-6bd75cda571303be802a9dc0e6fbd1d25d626e5e.zip
pfsense-6bd75cda571303be802a9dc0e6fbd1d25d626e5e.tar.gz
Fix minor variable mismatches.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 995c6d1..924c5c3 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -936,7 +936,7 @@ function filter_nat_rules_generate() {
}
if($ifname_lower) {
$natrules .= "rdr on $tmp_interface proto tcp from any to any port 21 -> 127.0.0.1 port {$tmp_port}\n";
- $natrules .= "rdr on \${$ifdescr} proto udp from any to $vpns port tftp -> 127.0.0.1 port 6969\n";
+ $natrules .= "rdr on $tmp_interface proto udp from any to any port tftp -> 127.0.0.1 port 6969\n";
}
$interface_counter++;
}
@@ -960,7 +960,7 @@ function filter_nat_rules_generate() {
$inetd_fd = fopen("/var/etc/inetd.conf","w");
/* add tftp protocol helper */
- fwrite($fd, "tftp\tdgram\tudp\twait\troot\t/usr/local/sbin/tftp-proxy -v\n");
+ fwrite($inetd_fd, "tftp\tdgram\tudp\twait\troot\t/usr/local/sbin/tftp-proxy -v\n");
/* start redirects on port 19000 of localhost */
$starting_localhost_port = 19000;
OpenPOWER on IntegriCloud