You have 17 format tags, but you pass 18 arguments to the unformat function. Is 
that intentional?

Steven

From: <vpp-dev@lists.fd.io> on behalf of "hemant via lists.fd.io" 
<hemant=mnkcg....@lists.fd.io>
Reply-To: "hem...@mnkcg.com" <hem...@mnkcg.com>
Date: Friday, November 27, 2020 at 3:52 PM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] unformat fails processing > 3 variables

I am writing VPP CLI for the first time. Please see this new CLI I developed 
for my VPP plugin at the link below.

https://github.com/hesingh/misc/blob/master/vpp-issues/cli.c

If I use more than three variables with unformat on line 
<https://github.com/hesingh/misc/blob/master/vpp-issues/cli.c#L26>, I run into 
the error on this line of code in the same file 
<https://github.com/hesingh/misc/blob/master/vpp-issues/cli.c#L47>

Any idea how to get around this issue?

Thanks,

Hemant





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18177): https://lists.fd.io/g/vpp-dev/message/18177
Mute This Topic: https://lists.fd.io/mt/78558564/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to