Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 2/2] Fix Completion iptables 194: ;& => ;;
- X-seq: zsh-workers 43627
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "a-wing" <1@233.email>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH 2/2] Fix Completion iptables 194: ;& => ;;
- Date: Mon, 08 Oct 2018 13:52:46 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:references:date:subject :in-reply-to; s=fm1; bh=o43rfZBn8KeuMuXOfMArfzWnHqKLlkqmf+G3vqLJ RLk=; b=gsQj2F1hyweZve7Hmkh/hv4iui+4u8yXdECIHHjixql1Ajz0/mDvunY+ deyiTVmDEeieTXi1r1KYhMz1tFl67ZcEaVMyHl6sONyw8Sv5xOuXKKazbwkesQzI vZb+MOm8sl9nJkWiJxNnrkkVgJt535VLdz3QHVPFAcdZdkoS4MHvcrGy4JdK7mIU Iu/MqLv65CKUAgqtPH+mIyMDqdUTkQ9rbim28MeN6HIYaRXR5Tvwux94WudIt3aI hrawa9zMSZiksPGsU6dDEH/XXFztI4Rmb7TN5ulPf39B54t7kRiAMuixb3W1/Phv CYdMX/GW7Z1vCTi3dHVu5QGMLAfqhw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=o43rfZBn8KeuMuXOfMArfzWnHqKLlkqmf+G3vqLJR Lk=; b=rcNqCn3CpfEaBoV9s9r9KChrfMv7SC4+K0/FgAZOIDpQ6huUaY4avTIM6 084vPGzYrsQjW/obfqZeJkFzLLEBcjNama8JL0Vw8XndNfeQU5MPNaW3Wur4YE6Y M+75s7UlfIbtDB2v3BnYrx7HE4f3kHKvpwnPreI2l3Fbhym7+XBEve9wU4XWngmY 5mdVfn9oTjFMRJf8aeemD2WyuNLaScG+Y9o9tZJbemejpBALedziFr4VxK9Fo0Qa xFxrCGXCLiUkdL1GhJrgAqta941Ftveb1NiYIg+Qc37O1DACLihIz1EdGDo2yW0c BqX2MEQUaB36hGbgUmJp9W+2hnMmw==
- In-reply-to: <20181008032424.4260-2-1@233.email>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20181008032424.4260-1-1@233.email> <20181008032424.4260-2-1@233.email>
a-wing wrote on Mon, 08 Oct 2018 11:24 +0800:
> ---
> Completion/Linux/Command/_iptables | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Completion/Linux/Command/_iptables b/Completion/Linux/
> Command/_iptables
> index ae8d66ea4..2d9697418 100644
> --- a/Completion/Linux/Command/_iptables
> +++ b/Completion/Linux/Command/_iptables
> @@ -191,7 +191,7 @@ case "$state" in
> _wanted targets expl 'builtin target' compadd \
> ACCEPT DROP QUEUE RETURN DNAT DSCP ECN LOG MARK MASQUERADE MIRROR \
> REDIRECT REJECT SNAT TCPMSS TOS ULOG && ret=0
> - ;&
> + ;;
I'm sorry but this patch is wrong. iptables(8) explicitly states:
[[[
TARGETS
… the value of the target,
which can be the name of a user-defined chain, one of the targets
described in iptables-extensions(8), or one of the special values
ACCEPT, DROP or RETURN.
]]]
For future reference, log messages should describe the functional change and
its purpose, not the syntactic change. That is, it should say something
_beyond_ what can be understood by parsing the unidiff.
Thanks for the patch,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author