Commit 570b51af authored by Ad Schellevis's avatar Ad Schellevis

remove sctp, dccp no proper support in FreeBSD

parent 510e7def
......@@ -1678,7 +1678,7 @@ function filter_nat_rules_generate(&$FilterIflist)
}
if (!empty($rule['protocol']) && in_array($rule['protocol'], array('tcp/udp', 'udp', 'tcp', 'sctp', 'dccp'))) {
if (!empty($rule['protocol']) && in_array($rule['protocol'], array('tcp/udp', 'udp', 'tcp'))) {
$localport = alias_expand($rule['local-port']);
if (!$localport || $dstport[0] == $localport) {
$localport = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment