[lxc-devel] [PATCH] Fix lxc-netstat -- argument processing

Daniel Lezcano daniel.lezcano at free.fr
Wed Oct 31 16:21:14 UTC 2012


On 10/25/2012 11:25 PM, Dwight Engen wrote:
> Commit 21e487f2 introduced the use of getopt, but getopt will fail when
> it sees arguments meant for netstat that are not in [short|long]options.
> There should not be any ambiguity about arguments with the same letter:
> those to the left of the -- are destined for lxc-netstat and those to
> the right for the real netstat, which the original code handles by
> shifting out all arguments it recognizes before the -- is hit.
>
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
> ---

Applied.




More information about the lxc-devel mailing list