about summary refs log tree commit diff
path: root/Completion/Unix/Command/_netstat
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-04-19 23:05:49 +0200
committerOliver Kiddle <opk@zsh.org>2021-04-19 23:05:49 +0200
commitd01d0a12899ad73b1072e05e7abcce44ea4273bd (patch)
treeaa32559b8952758ef72d1c0cb57c9e4bba3d0d2b /Completion/Unix/Command/_netstat
parent71b747567e350c5f849897c424ea76fd05b34ffe (diff)
downloadzsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.tar.gz
zsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.tar.xz
zsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.zip
48618: update completions for FreeBSD 13
Diffstat (limited to 'Completion/Unix/Command/_netstat')
-rw-r--r--Completion/Unix/Command/_netstat6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_netstat b/Completion/Unix/Command/_netstat
index 84d5dc2f2..aa6c92fde 100644
--- a/Completion/Unix/Command/_netstat
+++ b/Completion/Unix/Command/_netstat
@@ -303,6 +303,12 @@ case $OSTYPE in
     memory+=( $Xopt) statistics+=( $Xopt )
     pcb+=( $Mopts $popt )
   ;;
+  freebsd<13->.*)
+    sockets+=(
+      '-c[show TCP stack used for each session]'
+      '-C[show TCP congestion control algorithm and diagnostic]'
+    )
+  ;&
   freebsd<11->.*)
     routing+=( '-F+[show specified routing table]:routing table' )
     bpf=( '-z[reset statistic counters after displaying them]' )