######## 
## Entry Format: <uci config>@<local error code index>=<global cgi error code index>
## Notice: 
## 1.index base of each uci config's local error code should start from 101
## 2. All local error code in the config MUST be different

##################### Network
#101: ERROR: ifup is running, abort
#102: High Availibilty is running, the LAN binding with profile can not be modified right now. Please turn off the HA function first
network@101=-18
network@102=-18

##################### Load Balance Pool
#101: the route is currently used by other places, deletion is not permitted
lb_pool@101=-18

##################### NAT Port Redirection
#101: ERROR: ports can not be empty
#102: ERROR: Start port must smaller than end port
#103: ERROR: Target interface profile is disabled
#104: ERROR: WAN IP alias must have value
#105: ERROR: Public port can not contain system reserved ports
firewall@101=-18
firewall@102=-18
firewall@103=-18
firewall@104=-18
firewall@105=-18

##################### NAT Address Mapping
#101: Selected WAN profile is not available
#102: IP alias can not be empty
#103: Target WAN IP is not available
addr_mapv2@101=-18
addr_mapv2@102=-18
addr_mapv2@103=-18

##################### Load Balance Policy Rule
#101: ERROR: Load Balance Pool/WAN Profile must have value
lb_rule@101=-18

##################### User Profile Settings
#101: Object deletion dialog box
#102: ERROR: User profile is a reserved name, please use other names.
appuser@101=-19
appuser@102=-18

##################### User Group
#101: Object deletion dialog box
appuser_group@101=-19

##################### Object Settings
#101: Object deletion dialog box
ip_object@101=-19
#101: Object deletion dialog box
ip6_object@101=-19
#101: Object deletion dialog box
#102: Object modification message
country_object@101=-19
country_object@102=-18
#101: Object deletion dialog box
service_object@101=-19
#101: Object deletion dialog box
keyword_object@101=-19
#101: Object deletion dialog box
fext_object@101=-19
#101: Object deletion dialog box
app_object@101=-19
#101: Object deletion dialog box
category_object@101=-19
#101: Object deletion dialog box
cn_category_object@101=-19
#101: ERROR: QQ object is refered by other functions, deletion is not permitted
qq_object@101=-19
#101: Object deletion dialog box
time_object@101=-18
time_object@102=-19
#101: Object deletion dialog box
dns_object@101=-19

##################### IP Filter Group (trigger by config:ip_filter_set)
#105: ERROR: the group is already refered by other group rules, please reset them before deletion
ip_filter_set@105=-18
ip6_filter_set@104=-18
ip6_filter_set@105=-18
##################### IP Filter Rule(trigger by config: ip_filter_set_rule )
#101: ERROR: [next group] can not be empty when action is block_if_no_further_match or pass_if_no_further_match
#102: ERROR: such input interface is impossible
#103: ERROR: such output interface is impossible
#104: FORBIDDEN: [next_group:$next_group] will produce a loop, please check the relationship
#106: ERROR: [next_group:$next_group] not found"
#107: ERROR: [next_group:$next_group] is not enabled
ip_filter_set_rule@101=-18
ip_filter_set_rule@102=-18
ip_filter_set_rule@103=-18
ip_filter_set_rule@104=-18
ip_filter_set_rule@106=-18
ip_filter_set_rule@107=-18
ip6_filter_set_rule@101=-18
ip6_filter_set_rule@102=-18
ip6_filter_set_rule@103=-18
ip6_filter_set_rule@104=-18
ip6_filter_set_rule@106=-18
ip6_filter_set_rule@107=-18

##################### Static Route
#101: ERROR: static route can not to be created, please check WAN/LAN profile and the gateway are available
#102: ERROR: WAN/LAN profile must have value
route@101=-18
route@102=-18

##################### Session Limit
#101: ERROR: target time profile($item) doesn't exist, abort profile enable
#102: ERROR: target ip profile($item) doesn't exist, abort profile enable
#103: ERROR: target user profile($item) doesn't exist, abort profile enable
#104: ERROR: target user group($item) doesn't exist, abort profile enable
#105: ERROR: fails to add profile($1) iptables rule, suggest user to do apply again
connlimit@101=-18
connlimit@102=-18
connlimit@103=-18
connlimit@104=-18
connlimit@105=-18

##################### High Availability Mode
#101: HA LAN port was detected as disconnected status, please see [LAN Port Detection Mode] settings and check the port physical link
ucarp_mode@101=-18

##################### High Availability Profile
#101: ERROR: $lan is already used by profile:$j. A LAN Profile can only be used by one HA group
ucarp_hs@101=-18
ucarp_as@101=-18

##################### DMZ Profile
#101: No Alias
#102: Target outgoing WAN is not available
dmz@101=-18
dmz@102=-18

##################### LDAP/Active Directory
#101: ERROR: LDAP profile is refered by other functions, deletion is not permitted
ldap@101=-19

##################### GUEST PROFILE
#101:
app_guest_setup@101=-18
app_guest@101=-18
app_guest_group@101=-18

##################### vpn ipsec_policy
#101: remote subnet is conflict with LAN subnet
#102: remote subnet is conflict with other remote subnets
ipsec_policy@101=-18
ipsec_policy@102=-18

##################### vpn trunk load balance pool
#101:
ipsec_lb_pool@101=-18
##################### SIP ALG
#101:
siproxd@101=-18

##################### vpn pptp_l2l_din
#101: 
#102: remote subnet is conflict with LAN subnet
#103: remote subnet is conflict with other remote subnets
pptp_l2l_din@101=-18
pptp_l2l_din@102=-18
pptp_l2l_din@103=-18

##################### vpn pptp_l2l_dout
#101: remote subnet is conflict with LAN subnet
#102: remote subnet is conflict with other remote subnets
pptp_l2l_dout@101=-18
pptp_l2l_dout@102=-18

##################### policy route
#101: ERROR: Policy Route is not ready! Please wait boot complete.
#102: ERROR: FATAL ERROR: System locked!
#103: ERROR: Gateway unreachable
policy_rt@101=-18
policy_rt@102=-18
policy_rt@103=-18
