diff --git a/tc/m_police.c b/tc/m_police.c index 36a7719..76cdbe1 100644 --- a/tc/m_police.c +++ b/tc/m_police.c @@ -227,7 +227,8 @@ int act_parse_police(struct action_util *a,int *argc_p, char ***argv_p, int tca_ p.action = TC_POLICE_OK; } else if (matches(*argv, "pipe") == 0) { p.action = TC_POLICE_PIPE; - } else if (strcmp(*argv, "conform-exceed") == 0) { + } else if (strcmp(*argv, "action") == 0 || + strcmp(*argv, "conform-exceed") == 0) { NEXT_ARG(); if (get_police_result(&p.action, &presult, *argv)) { fprintf(stderr, "Illegal \"action\"\n");