mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sesutils, pass the correct element type when printing the status of a given
element of the ses. Sponsored by: Gandi.net
This commit is contained in:
parent
845614cd22
commit
f57605fb7d
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ objmap(int argc, char **argv __unused)
|
|||
printf("\tElement %u, Type: %s\n", e_ptr[j].elm_idx,
|
||||
geteltnm(e_ptr[j].elm_type));
|
||||
printf("\t\tStatus: %s\n",
|
||||
stat2ascii(e_ptr[i].elm_type, e_status.cstat));
|
||||
stat2ascii(e_ptr[j].elm_type, e_status.cstat));
|
||||
if (e_desc.elm_desc_len > 0) {
|
||||
printf("\t\tDescription: %s\n",
|
||||
e_desc.elm_desc_str);
|
||||
|
|
|
|||
Loading…
Reference in a new issue