diff options
author | James Davidson <james.davidson@vyatta.com> | 2012-08-01 17:40:14 -0700 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2012-08-01 17:47:42 -0700 |
commit | b050e23c41a037534491241ebf68ecd0bf4c05f4 (patch) | |
tree | 27bb99c6b2bc02e14e5ca3f6edda5c4f36b4bb93 | |
parent | 1efbe1d91db95e2119c5e1a3956dc4d722d4c250 (diff) | |
download | vyatta-op-b050e23c41a037534491241ebf68ecd0bf4c05f4.tar.gz vyatta-op-b050e23c41a037534491241ebf68ecd0bf4c05f4.zip |
Fix NAT regex to also find MASQ logs.
Fixes BZ8001.
-rw-r--r-- | templates/show/log/nat/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/log/nat/node.def b/templates/show/log/nat/node.def index 807b5c3..2ceebe9 100644 --- a/templates/show/log/nat/node.def +++ b/templates/show/log/nat/node.def @@ -1,2 +1,2 @@ help: Show log for Network Address Translation (NAT) -run: egrep -i "kernel:.*\[NAT-[A-Z]{3,}-[0-9]+\]" $(find /var/log -maxdepth 1 -type f -name messages\* | sort -t. -k2nr) +run: egrep -i "kernel:.*\[NAT-[A-Z]{3,}-[0-9]+(-MASQ)?\]" $(find /var/log -maxdepth 1 -type f -name messages\* | sort -t. -k2nr) |