summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_iptables6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c2f645bcd..23bc06199 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-08 a-wing <1@233.email>
+
+ * 43623: Completion/Linux/Command/_iptables: Fix Completion
+ iptables -t raw security
+
2018-10-08 Daniel Shahaf <d.s@daniel.shahaf.name>
* 43620 (tweaked): Doc/Zsh/contrib.yo,
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' \