X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Facl%2Facl.c;h=1f1517c333d5a19eeab4d41890d30d1ddff9e9f7;hb=refs%2Fchanges%2F13%2F10413%2F5;hp=8e1880a1d6baf337f32e7ef3fbdc2bdd2ace0b3b;hpb=acbde664374303027e261ac096647592ca929f03;p=vpp.git diff --git a/src/plugins/acl/acl.c b/src/plugins/acl/acl.c index 8e1880a1d6b..1f1517c333d 100644 --- a/src/plugins/acl/acl.c +++ b/src/plugins/acl/acl.c @@ -2522,6 +2522,21 @@ acl_set_aclplugin_fn (vlib_main_t * vm, goto done; } } + if (unformat (input, "event-trace")) + { + if (!unformat (input, "%u", &val)) + { + error = clib_error_return (0, + "expecting trace level, got `%U`", + format_unformat_error, input); + goto done; + } + else + { + am->trace_sessions = val; + goto done; + } + } goto done; } if (unformat (input, "timeout"))