diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Linux/Command/_brctl | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f5468b161..821563406 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-05-05 Kenyon Ralph <kenyon@kenyonralph.com> + + * 31371: Completion/Linux/Command/_brctl: _brctl: update brctl + subcommands + 2013-05-04 Peter Stephenson <p.w.stephenson@ntlworld.com> * 31369: Completion/Base/Utility/_comp_locale: action if locale diff --git a/Completion/Linux/Command/_brctl b/Completion/Linux/Command/_brctl index 877326821..6e65d122c 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 |