Revision ee9783e9
Added by Ermal LUÇI over 11 years ago
etc/inc/filter.inc | ||
---|---|---|
58 | 58 |
/* Used for aliases and interface macros */ |
59 | 59 |
$aliases = ""; |
60 | 60 |
|
61 |
/* Reserved table names to avoid colision */ |
|
62 |
$reserved_table_names = array( |
|
63 |
"bogons", |
|
64 |
"bogonsv6", |
|
65 |
"negate_networks", |
|
66 |
"snort2c", |
|
67 |
"sshlockout", |
|
68 |
"tonatsubnets", |
|
69 |
"virusprot", |
|
70 |
"vpn_networks", |
|
71 |
"webConfiguratorlockout"); |
|
72 |
|
|
73 | 61 |
function fix_rule_label($descr) { |
74 | 62 |
$descr = str_replace('"', '', $descr); |
75 | 63 |
if (strlen($descr) > 63) |
usr/local/www/guiconfig.inc | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
} |
97 | 97 |
|
98 |
/* Reserved table names to avoid colision */ |
|
99 |
$reserved_table_names = array( |
|
100 |
"bogons", |
|
101 |
"bogonsv6", |
|
102 |
"negate_networks", |
|
103 |
"snort2c", |
|
104 |
"sshlockout", |
|
105 |
"tonatsubnets", |
|
106 |
"virusprot", |
|
107 |
"vpn_networks", |
|
108 |
"webConfiguratorlockout" |
|
109 |
); |
|
110 |
|
|
98 | 111 |
$firewall_rules_dscp_types = array("af11", |
99 | 112 |
"af12", |
100 | 113 |
"af13", |
Also available in: Unified diff
Move this global declaration to the proper file rather than backend code