Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Completion/Linux/Command/_brctl: update brctl subcommands
- X-seq: zsh-workers 31371
- From: Kenyon Ralph <kenyon@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] Completion/Linux/Command/_brctl: update brctl subcommands
- Date: Sat, 4 May 2013 18:08:10 -0700
- Dkim-signature: v=1; a=rsa-sha1; c=simple; d=kenyonralph.com; h=date :from:to:subject:message-id:mime-version:content-type; s= postfix; bh=flrmboSOTWW0BB5PbTshQEOiDF4=; b=ckJeM86ETiqHthTH5fQx KEeK3ZTsn4/Cw+5TdC9Jo/VUgYyQveYFksHohwvEesWd3qkxWO1EcILnwhU4eTn0 Rk0hVbpORaOucCIicBqVYfREH7fqWeTzZzyvdMACvRTATfcg1QCM7Q0tMcdTRWgw q7e3svsm7EbWV9KHGFla9zo=
- Domainkey-signature: a=rsa-sha1; c=simple; d=kenyonralph.com; h=date :from:to:subject:message-id:mime-version:content-type; q=dns; s= postfix; b=iHxhKn6b9O4pLWazkpec6PJYONDP3jvXTS5j80zKp65gyHbTsi6dU Ov1rhsqu8GbYSzdx3mYctCSahLiPgGTbMBDvudkhdxjyUablbhChZxoj4BbANdkH ezbiQz/UH5stpLxnRd2PiaPFh9kcdPl9ZY2EQIdXBVo96XlVbvCahQ=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author