summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show/log/nat/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/log/nat/node.def b/templates/show/log/nat/node.def
index 22f70d3..807b5c3 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: cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e "\[NAT-[0-9]*-*\]"
+run: egrep -i "kernel:.*\[NAT-[A-Z]{3,}-[0-9]+\]" $(find /var/log -maxdepth 1 -type f -name messages\* | sort -t. -k2nr)