summaryrefslogtreecommitdiff
path: root/src/gen_pfc.c
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2012-04-11 11:07:31 -0400
committerPaul Moore <pmoore@redhat.com>2012-04-13 11:59:41 -0400
commit9c3511ade8f1f2704f6674fbaf714c9a2b4ee447 (patch)
tree07d685432efa0437731278979667103f89828b19 /src/gen_pfc.c
parentcb120c3eb209f9b6d185117f11f3428a96ac768b (diff)
downloadlibseccomp-9c3511ade8f1f2704f6674fbaf714c9a2b4ee447.tar.gz
api: enable basic filter attribute support
Move the default action into the filter attribute mechanism. Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/gen_pfc.c')
-rw-r--r--src/gen_pfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_pfc.c b/src/gen_pfc.c
index df5127f..4334c14 100644
--- a/src/gen_pfc.c
+++ b/src/gen_pfc.c
@@ -263,7 +263,7 @@ int gen_pfc_generate(const struct db_filter *db, int fd)
p_iter = p_iter->next;
}
fprintf(fds, "# default action\n");
- _pfc_action(fds, db->def_action);
+ _pfc_action(fds, db->attr.act_default);
fprintf(fds, "#\n");
fprintf(fds, "# pseudo filter code end\n");
fprintf(fds, "#\n");