Re: [ovs-dev] [PATCH ovn] ovn-nbctl: Fix priority arg of lrp-set-gateway-chassis

2022-07-11 Thread Numan Siddique
On Fri, Jul 8, 2022 at 2:45 AM Ales Musil wrote: > > When the lrp-set-gateway-chassis was followed by chained > command (--) the command tried to parse -- as priority > when the priority was not specified. > > Check if the command argument count is actually 4 > instead of checking argv[3]. > >

[ovs-dev] [PATCH ovn] ovn-nbctl: Fix priority arg of lrp-set-gateway-chassis

2022-07-08 Thread Ales Musil
When the lrp-set-gateway-chassis was followed by chained command (--) the command tried to parse -- as priority when the priority was not specified. Check if the command argument count is actually 4 instead of checking argv[3]. Reported-at: https://bugzilla.redhat.com/2102930 Signed-off-by: Ales