Hi,
The debug cli indeed will eat subsequent lines, I have change to use "if (!unformat_user (input, unformat_line_input, line_input))", it’s will be compatible in a script. Please have a review now. Best regards, Huawei LI 在 2022年11月12日 14:32,filvarga<filipvarg...@gmail.com> 写道: Hi, Looks good to me. But I can see that in non of the cli commands if (!unformat_user (input, unformat_line_input, line_input)) return 0; is used. Have a look at Daves patch: e697caf9f84408fd7e2caa9bed58946f068e4c9c Best regards, Filip Varga so 12. 11. 2022 o 5:14 lihuawei <lihuawei_...@163.com> napísal(a): Hi Dave Barach && community, I have added a fix as gerrit review id 37651. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37651 short description: fix classify session cli. Return error if there is unkown input. Please have a look and review. Best regards, Huawei LI
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22173): https://lists.fd.io/g/vpp-dev/message/22173 Mute This Topic: https://lists.fd.io/mt/94974653/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-