Florian Westphal <fw@xxxxxxxxx> wrote: > Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > > There are no shift/reduce errors, things compile fine, and all > > > test cases work. Its just that we break 'ct event set label': > > > > > > Works: > > > ct event set new or reply > > > ct event set new,reply > > > ct event set new,label > > > fails: > > > ct event set label ('expects COMMA') > > This can be fixed, it's just a matter we need more time, right? Actually 'event set label' is simple to fix; just add keyword_expr to the ct_stmt_expr list. But another problem(?) is this: works: ct event label or new ct event set reply or new doesn't work: ct event set label or new (not strictly related to 'label', any other keyword like tcp, ip, etc. has same problem, they just don't overlap with event names so would not work anyway). I currently see no way to resolve this, unfortunately. For ct statements (and meta) we need to support plain expressions as SET argument, at least in some cases, such as: meta set mark or 42 This is ambiguous because we have both tokens and symbolic constants. If we can live with the 'or' not being supported for ct event mask I think we're fine (it will work when forcing string type, i.e. ct event set "label" or new). Also, the 'label, new' format will work fine. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html