Revision 3ae365f4
Added by Jim Pingle over 2 years ago
src/etc/inc/filter.inc | ||
---|---|---|
1423 | 1423 |
} |
1424 | 1424 |
} |
1425 | 1425 |
|
1426 |
function filter_flush_nat_table() { |
|
1427 |
if (config_path_enabled('system','developerspew')) { |
|
1428 |
$mt = microtime(); |
|
1429 |
echo "filter_flush_nat_table() being called $mt\n"; |
|
1430 |
} |
|
1431 |
return mwexec("/sbin/pfctl -F nat"); |
|
1432 |
} |
|
1433 |
|
|
1434 | 1426 |
function filter_flush_state_table() { |
1435 |
return mwexec("/sbin/pfctl -F state"); |
|
1427 |
return mwexec("/sbin/pfctl -F states");
|
|
1436 | 1428 |
} |
1437 | 1429 |
|
1438 | 1430 |
function filter_get_reflection_interfaces($natif = "") { |
Also available in: Unified diff
Removed unused filter_flush_nat_table, fix typo. Fixes #12757