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].
>
>
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