mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added message for SNMP device edit error
This commit is contained in:
parent
13447c10c0
commit
038cdb2dc2
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ rest_utils.consts_bind_pool_member_already_bound = -18
|
|||
rest_utils.consts_password_mismatch = -19
|
||||
rest_utils.consts_add_user_failed = -20
|
||||
rest_utils.consts_delete_user_failed = -21
|
||||
rest_utils.consts_snmp_unknown_device = -22
|
||||
|
||||
local rc_str_consts = {
|
||||
[rest_utils.consts_ok] = "OK",
|
||||
|
|
@ -57,6 +58,7 @@ local rc_str_consts = {
|
|||
[rest_utils.consts_password_mismatch] = "PASSWORD_MISMATCH",
|
||||
[rest_utils.consts_add_user_failed] = "ADD_USER_FAILED",
|
||||
[rest_utils.consts_delete_user_failed] = "DELETE_USER_FAILED",
|
||||
[rest_utils.consts_snmp_unknown_device] = "SNMP_UNKNOWN_DEVICE",
|
||||
}
|
||||
|
||||
function rest_utils.rc(ret_code, response)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue