diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-03 21:59:25 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-03 21:59:25 +0000 |
commit | 5612efdef70dca2c8f02578cc1b119be4b794d08 (patch) | |
tree | bb4893de453981d6b7dcf22ec966379c54199a5f /etc/bash_completion.d/10vyatta-op | |
parent | d14dee306fe9a8f497e20d9fa58bd199615569c3 (diff) | |
download | vyatta-op-5612efdef70dca2c8f02578cc1b119be4b794d08.tar.gz vyatta-op-5612efdef70dca2c8f02578cc1b119be4b794d08.zip |
Fix Bug 1059 Feature Request: integrate 'tcpdump' and 'tethereal' into Vyatta CLI
- 'show interfaces ethernet <> capture' captures traffic at specified interface
- 'show interfaces ethernet <> capture port <>' captures traffic at specified interface port
- 'show interfaces ethernet <> capture not port <>' captures traffic at specified interface excluding specified port
Diffstat (limited to 'etc/bash_completion.d/10vyatta-op')
-rw-r--r-- | etc/bash_completion.d/10vyatta-op | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op index 8ccb7ee..fe3163c 100644 --- a/etc/bash_completion.d/10vyatta-op +++ b/etc/bash_completion.d/10vyatta-op @@ -321,7 +321,7 @@ _vyatta_op_run () local ret=0 if [ -n "$run_cmd" ]; then if [[ -t 1 && "$1" == "show" && \ - ! $run_cmd =~ ^\(LESSOPEN=\|less\|pager\|tail\).* ]] ; then + ! $run_cmd =~ ^\(LESSOPEN=\|less\|pager\|tail\|/opt/vyatta/bin/vyatta-tshark-interface-port.pl\).* ]] ; then eval "($run_cmd) | ${VYATTA_PAGER:-cat}" else eval "$run_cmd" |