summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-12 19:11:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-12 19:11:44 +0000
commita61f65ff5dc1b130d1df6bbbe56d8880120b1c88 (patch)
treec714856657df35a07c996e22d1a6a4b66027e606 /etc/inc
parentc2f40a7dac5351ff68e7660e7c6ef1cc32f5e2b0 (diff)
downloadpfsense-a61f65ff5dc1b130d1df6bbbe56d8880120b1c88.zip
pfsense-a61f65ff5dc1b130d1df6bbbe56d8880120b1c88.tar.gz
Change nowait to nowait.420
Submitted-by: Podilarius via IRC
Diffstat (limited to 'etc/inc')
-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 1a7aa61..a69ddd2 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -877,13 +877,13 @@ function filter_nat_rules_generate() {
switch($rule['protocol']) {
case "tcp/udp":
$protocol = "{ tcp udp }";
- fwrite($fd, "{$starting_localhost_port}\tstream\ttcp/udp\tnowait\tnobody\t/usr/bin/nc nc -w 20 {$target} {$x}\n");
+ fwrite($fd, "{$starting_localhost_port}\tstream\ttcp/udp\tnowait.420\tnobody\t/usr/bin/nc nc -w 20 {$target} {$x}\n");
$natrules .= "rdr on \${$ifname_real} proto {$protocol} from any to {$extaddr} port { {$x} } -> 127.0.0.1 port {$starting_localhost_port}\n";
break;
case "tcp":
case "udp":
$protocol = $rule['protocol'];
- fwrite($fd, "{$starting_localhost_port}\tstream\t{$protocol}\tnowait\tnobody\t/usr/bin/nc nc -w 20 {$target} {$x}\n");
+ fwrite($fd, "{$starting_localhost_port}\tstream\t{$protocol}\tnowait.420\tnobody\t/usr/bin/nc nc -w 20 {$target} {$x}\n");
$natrules .= "rdr on \${$ifname_real} proto {$protocol} from any to {$extaddr} port { {$x} } -> 127.0.0.1 port {$starting_localhost_port}\n";
break;
default:
OpenPOWER on IntegriCloud