Re: [PATCH] conntrack: -L doesn't take a value, so don't discard one (same for -IUDGEFA)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 03, 2024 at 04:16:21AM +0200, Ahelenia Ziemiańska wrote:
> The manual says
>    COMMANDS
>        These options specify the particular operation to perform.
>        Only one of them can be specified at any given time.
> 
>        -L --dump
>               List connection tracking or expectation table
> 
> So, naturally, "conntrack -Lo extended" should work,
> but it doesn't, it's equivalent to "conntrack -L",
> and you need "conntrack -L -o extended".
> This violates user expectations (borne of the Utility Syntax Guidelines)
> and contradicts the manual.
> 
> optarg is unused, anyway. Unclear why any of these were :: at all?

Because this supports:

        -L
        -L conntrack
        -L expect




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux