From 7896107467a4331aa78238779c7ae0e7250afa5a Mon Sep 17 00:00:00 2001 From: James Davidson Date: Wed, 1 Aug 2012 17:40:14 -0700 Subject: Fix NAT regex to also find MASQ logs. Fixes BZ8001. --- templates/show/log/nat/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/show') 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) -- cgit v1.2.3