diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2017-07-25 19:19:13 +0200 |
---|---|---|
committer | UnicronNL <khagen@multi.eu> | 2017-10-05 22:34:42 +0200 |
commit | f0c9a343ce886e1d323e0c13f25edc681af53b49 (patch) | |
tree | c025610d5f1deb86aa75c9457e33485cd31cd517 | |
parent | c7c49cdd25ebb21209acace06367d803fe788b72 (diff) | |
download | vyatta-op-helium.tar.gz vyatta-op-helium.zip |
The command "show log firewall name <name>" does not show the expected log entrieshelium
-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]\]" |