libsepol/cil: ibendportcon fails to resolve in CIL policy
Fix named ibendportcon context not resolving correctly. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
This commit is contained in:
parent
f6f4876dfc
commit
c8e135ba22
1 changed files with 1 additions and 1 deletions
|
@ -4698,7 +4698,7 @@ int cil_gen_ibendportcon(__attribute__((unused)) struct cil_db *db, struct cil_t
|
|||
}
|
||||
|
||||
if (!parse_current->next->next->next->cl_head) {
|
||||
ibendportcon->context_str = parse_current->next->next->data;
|
||||
ibendportcon->context_str = parse_current->next->next->next->data;
|
||||
} else {
|
||||
cil_context_init(&ibendportcon->context);
|
||||
|
||||
|
|
Loading…
Reference in a new issue