Revision 2ea00c3e
Added by Scott Ullrich about 14 years ago
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
547 | 547 |
$filterent['associated-rule-id'] = $a_filter[$id]['associated-rule-id']; |
548 | 548 |
} |
549 | 549 |
|
550 |
// Allow extending of the firewall edit page and include custom input validation |
|
551 |
pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_write_config"); |
|
552 |
|
|
550 | 553 |
if (isset($id) && $a_filter[$id]) |
551 | 554 |
$a_filter[$id] = $filterent; |
552 | 555 |
else { |
... | ... | |
558 | 561 |
|
559 | 562 |
filter_rules_sort(); |
560 | 563 |
|
561 |
// Allow extending of the firewall edit page and include custom input validation |
|
562 |
pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_write_config"); |
|
563 |
|
|
564 | 564 |
write_config(); |
565 | 565 |
mark_subsystem_dirty('filter'); |
566 | 566 |
|
Also available in: Unified diff
Add missing plugin code. Move the pre_write section up a bit.