Re: [vpp-dev] unformat fails processing > 3 variables

2020-11-27 Thread hemant via lists.fd.io
: Friday, November 27, 2020 7:40 PM To: hem...@mnkcg.com; slu...@cisco.com; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] unformat fails processing > 3 variables This will make you sad. Don’t write code line this: if (unformat (line_input, "%s %s %x %hhu %hhu %hu %hu %s %hhu %hu %hu %

Re: [vpp-dev] unformat fails processing > 3 variables

2020-11-27 Thread Dave Barach
mailto:hem...@mnkcg.com> ; vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] unformat fails processing > 3 variables You have 17 format tags, but you pass 18 arguments to the unformat function. Is that intentional? Steven From: mailto:vpp-dev@lists.fd.io>

Re: [vpp-dev] unformat fails processing > 3 variables

2020-11-27 Thread hemant via lists.fd.io
ev@lists.fd.io <mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] unformat fails processing > 3 variables You have 17 format tags, but you pass 18 arguments to the unformat function. Is that intentional? Steven From: mailto:vpp-dev@lists.fd.io> > on behalf of "hemant v

Re: [vpp-dev] unformat fails processing > 3 variables

2020-11-27 Thread hemant via lists.fd.io
; 130 0 1 5241 0x03030302 0x03030301 2152 1 0 upf add-entry: unknown input '' vpp# Thanks, Hemant From: Steven Luong (sluong) Sent: Friday, November 27, 2020 7:14 PM To: hem...@mnkcg.com; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] unformat fails processing > 3 variab

Re: [vpp-dev] unformat fails processing > 3 variables

2020-11-27 Thread steven luong via lists.fd.io
You have 17 format tags, but you pass 18 arguments to the unformat function. Is that intentional? Steven From: on behalf of "hemant via lists.fd.io" Reply-To: "hem...@mnkcg.com" Date: Friday, November 27, 2020 at 3:52 PM To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] unformat fails processing