diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2017-07-25 19:19:13 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2017-07-25 19:19:13 +0200 |
commit | 3610a467094e80a39b6627f6b7655430917b9bd3 (patch) | |
tree | 6a20d53adf5a75e6454ce13661b1286c055e89ed | |
parent | 6152bc3abd0cb1dc6c7717a653558a1c3393fe31 (diff) | |
download | vyatta-op-3610a467094e80a39b6627f6b7655430917b9bd3.tar.gz vyatta-op-3610a467094e80a39b6627f6b7655430917b9bd3.zip |
The command "show log firewall name <name>" does not show the expected log entries
-rw-r--r-- | templates/show/log/firewall/ipv6-name/node.tag/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/firewall/name/node.tag/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/log/firewall/ipv6-name/node.tag/node.def b/templates/show/log/firewall/ipv6-name/node.tag/node.def index 072e210..629e237 100644 --- a/templates/show/log/firewall/ipv6-name/node.tag/node.def +++ b/templates/show/log/firewall/ipv6-name/node.tag/node.def @@ -1,5 +1,5 @@ help: Show log for a specified firewall allowed: local -a ARR=$(cli-shell-api -- listEffectiveNodes firewall ipv6-name) echo "${ARR[@]//\'/}" -run: cat $(printf "%s\n" /var/log/messages* | sort -nr) | egrep "\[$5-[0-9]+|default-[ADR]\]" +run: cat $(printf "%s\n" /var/log/messages* | sort -nr ) | egrep "\[$5-([0-9]+|default)-[ADR]\]" diff --git a/templates/show/log/firewall/name/node.tag/node.def b/templates/show/log/firewall/name/node.tag/node.def index 4e71fa0..7431f8a 100644 --- a/templates/show/log/firewall/name/node.tag/node.def +++ b/templates/show/log/firewall/name/node.tag/node.def @@ -1,5 +1,5 @@ help: Show log for a specified firewall allowed: local -a ARR=$(cli-shell-api -- listEffectiveNodes firewall name) echo "${ARR[@]//\'/}" -run: cat $(printf "%s\n" /var/log/messages* | sort -nr ) | egrep "\[$5-[0-9]+|default-[ADR]\]" +run: cat $(printf "%s\n" /var/log/messages* | sort -nr ) | egrep "\[$5-([0-9]+|default)-[ADR]\]" |