diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-09-19 12:19:51 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:30 -0500 |
commit | b4bb5be6432e67f97a88fe2a1918cf2b0e21546f (patch) | |
tree | 6a3aae557180a99afd615a5458b694a9ca64befe /templates/monitor/interfaces/loopback | |
parent | 20b1db02bc1cf35aab1fd275fb6f51e121e9f21d (diff) | |
download | vyatta-op-b4bb5be6432e67f97a88fe2a1918cf2b0e21546f.tar.gz vyatta-op-b4bb5be6432e67f97a88fe2a1918cf2b0e21546f.zip |
Fix filter completion
(cherry picked from commit 865874dbe3466f3188b4ebe6556fa00beefa6354)
Diffstat (limited to 'templates/monitor/interfaces/loopback')
4 files changed, 4 insertions, 0 deletions
diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/detail/filter/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/detail/filter/node.tag/node.def index 76d8f57..ceb1c5d 100644 --- a/templates/monitor/interfaces/loopback/node.tag/traffic/detail/filter/node.tag/node.def +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/detail/filter/node.tag/node.def @@ -1,2 +1,3 @@ help: Monitor detailed filtered traffic for the specified loopback interface +allowed: echo -e '<pcap-filter>' run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --filter "${@:8}" diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/detail/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/detail/unlimited/filter/node.tag/node.def index b9ec0c8..13bbeb9 100644 --- a/templates/monitor/interfaces/loopback/node.tag/traffic/detail/unlimited/filter/node.tag/node.def +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/detail/unlimited/filter/node.tag/node.def @@ -1,2 +1,3 @@ help: Monitor detailed filtered traffic for the specified loopback interface +allowed: echo -e '<pcap-filter>' run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --detail --unlimited --filter "${@:9}" diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/filter/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/filter/node.tag/node.def index a6fd177..d0f5042 100644 --- a/templates/monitor/interfaces/loopback/node.tag/traffic/filter/node.tag/node.def +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/filter/node.tag/node.def @@ -1,2 +1,3 @@ help: Monitor filtered traffic for the specified loopback interface +allowed: echo -e '<pcap-filter>' run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --filter "${@:7}" diff --git a/templates/monitor/interfaces/loopback/node.tag/traffic/unlimited/filter/node.tag/node.def b/templates/monitor/interfaces/loopback/node.tag/traffic/unlimited/filter/node.tag/node.def index 2a69477..53c619f 100644 --- a/templates/monitor/interfaces/loopback/node.tag/traffic/unlimited/filter/node.tag/node.def +++ b/templates/monitor/interfaces/loopback/node.tag/traffic/unlimited/filter/node.tag/node.def @@ -1,2 +1,3 @@ help: Monitor filtered traffic for the specified loopback interface +allowed: echo -e '<pcap-filter>' run: ${vyatta_bindir}/vyatta-tshark.pl --intf $4 --unlimited --filter "${@:8}" |