Updated and improved API respones.

This commit is contained in:
Alexander 2021-10-31 23:24:42 +02:00
commit 859e65647f
33 changed files with 254 additions and 18 deletions

View file

@ -90,8 +90,6 @@ $result = array(
'time' => $data[$v_rule]['TIME'],
'suspended' => $data[$v_rule]['SUSPENDED'],
'status' => $v_status,
'actions' => [ __('DROP'), __('ACCEPT') ],
'protocols' => [ __('TCP'), __('UDP'), __('ICMP') ],
'error_msg' => $_SESSION['error_msg'],
'ok_msg' => $_SESSION['ok_msg']
);