Don't echo out the rule. Add it to the existing rule string
This commit is contained in:
Scott Ullrich 2005-11-11 21:32:24 +00:00
parent 009510f83e
commit db33363307

View File

@ -1427,7 +1427,7 @@ pass out quick on $wanif proto udp from any port = 68 to any port = 67 label "al
EOD;
if($config['interfaces']['lan']['bridge'] <> "wan")
echo "block in $log quick on $wanif proto udp from any port = 67 to {$lansa_sn_combo} port = 68 label \"allow dhcp client out wan\"\n";
$ipfrules .= "block in $log quick on $wanif proto udp from any port = 67 to {$lansa_sn_combo} port = 68 label \"allow dhcp client out wan\"\n";
$ipfrules .= <<<EOD