* [PATCH] Completion/Linux/Command/_brctl: update brctl subcommands
@ 2013-05-05 1:08 Kenyon Ralph
2013-05-05 10:20 ` Frank Terbeck
0 siblings, 1 reply; 2+ messages in thread
From: Kenyon Ralph @ 2013-05-05 1:08 UTC (permalink / raw)
To: zsh-workers
Add hairpin and showstp. These are available since at least
bridge-utils 1.5.
---
Completion/Linux/Command/_brctl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Completion/Linux/Command/_brctl b/Completion/Linux/Command/_brctl
index 8773268..6e65d12 100644
--- a/Completion/Linux/Command/_brctl
+++ b/Completion/Linux/Command/_brctl
@@ -10,10 +10,12 @@ if (( CURRENT == 2 )); then
show:show\ all\ current\ bridge\ instances
addif:add\ interface\ to\ bridge
delif:remove\ interface\ from\ bridge
+ hairpin:toggle\ hairpin\ mode\ on\ a\ port
showmacs:show\ a\ list\ of\ learned\ MAC\ addresses
setageing:set\ MAC\ address\ ageing\ time
setgcint:set\ grabage\ collection\ interval
stp:control\ use\ of\ spanning\ tree\ protocol
+ showstp:show\ bridge\ stp\ info
setbridgeprio:set\ bridge\ priority
setfd:set\ bridge\ forward\ delay
sethello:set\ bridge\ hello\ time
@@ -41,7 +43,7 @@ else
setbridgeprio)
_message -e priority 'priority'
;;
- setpathcost|setportprio)
+ setpathcost|setportprio|hairpin)
_message -e ports 'port'
;;
stp)
@@ -56,6 +58,8 @@ else
_message -e cost 'cost'
elif [[ $subcmd == setportprio ]]; then
_message -e priority 'priority'
+ elif [[ $subcmd == hairpin ]]; then
+ _message -e onoff 'on|off'
fi
fi
fi
--
1.7.10.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Completion/Linux/Command/_brctl: update brctl subcommands
2013-05-05 1:08 [PATCH] Completion/Linux/Command/_brctl: update brctl subcommands Kenyon Ralph
@ 2013-05-05 10:20 ` Frank Terbeck
0 siblings, 0 replies; 2+ messages in thread
From: Frank Terbeck @ 2013-05-05 10:20 UTC (permalink / raw)
To: Kenyon Ralph; +Cc: zsh-workers
Kenyon Ralph wrote:
> Add hairpin and showstp. These are available since at least
> bridge-utils 1.5.
> ---
> Completion/Linux/Command/_brctl | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Pushed. Thank you!
Regards, Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-05 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-05 1:08 [PATCH] Completion/Linux/Command/_brctl: update brctl subcommands Kenyon Ralph
2013-05-05 10:20 ` Frank Terbeck
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).