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:41:02 -0700 |
commit | 7896107467a4331aa78238779c7ae0e7250afa5a (patch) | |
tree | 976d9dd6e9afccaa77ca34826a6649f49a853de4 | |
parent | 393ec16656d8a2b750d5cdba06658d624fafc984 (diff) | |
download | vyatta-op-7896107467a4331aa78238779c7ae0e7250afa5a.tar.gz vyatta-op-7896107467a4331aa78238779c7ae0e7250afa5a.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) |