about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authora-wing <1@233.email>2018-10-08 11:24:23 +0800
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-10-08 13:46:32 +0000
commit00baf08602705f1edc13266c24ecf2df5241143b (patch)
tree627fc14d5b2f74ade11480d81f8c002d6febb685 /Completion/Linux
parente38f15f8ff23651a8c4ef9fc394de7be93eb620f (diff)
downloadzsh-00baf08602705f1edc13266c24ecf2df5241143b.tar.gz
zsh-00baf08602705f1edc13266c24ecf2df5241143b.tar.xz
zsh-00baf08602705f1edc13266c24ecf2df5241143b.zip
43623: Fix Completion iptables -t raw security
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_iptables6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Linux/Command/_iptables b/Completion/Linux/Command/_iptables
index 447d7c932..ae8d66ea4 100644
--- a/Completion/Linux/Command/_iptables
+++ b/Completion/Linux/Command/_iptables
@@ -7,7 +7,7 @@ case $service in
   iptables-save | ip6tables-save)
     _arguments -s \
       {-c,--counters}'[include values of packet and byte counters in output]' \
-      {-t,--table}'[specify table]:table:(filter nat mangle)'
+      {-t,--table}'[specify table]:table:(filter nat mangle raw security)'
     return
   ;;
   iptables-restore | ip6tables-restore)
@@ -89,7 +89,7 @@ esac
 local i=1
 typeset -U args
 while
-  (( i=words[(ib.i.)-m|--match]+1 )) 
+  (( i=words[(ib.i.)-m|--match]+1 ))
 (( i<CURRENT )); do
   case ${words[i]}; in
     ah) args+=( '--ahspi[match SPIs in AH header]:*^!:spi' ) ;;
@@ -158,7 +158,7 @@ done
 _arguments -C -s \
   '(-)'{-h,--help}'[print program information]' \
   '(-)'{-V,--version}'[print version information]' \
-  '(-h --help -V --version)'{-t,--table}'[specify table]:table:(filter nat mangle)' \
+  '(-h --help -V --version)'{-t,--table}'[specify table]:table:(filter nat mangle raw security)' \
   "($rcmds $cmds)"{-A,--append}'[append rules to end of specified chain]:chain:->chains' \
   "($rcmds $cmds -c --set-counters)"{-D,--delete}'[delete rules from specified chain]:chain:->chains::rule number:->rulenums' \
   "($rcmds $cmds)"{-I,--insert}'[insert rules before specified rule number]:chain:->chains::rule number:->rulenums' \