summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorl0crian1 <143656816+l0crian1@users.noreply.github.com>2025-04-17 03:26:45 -0400
committerGitHub <noreply@github.com>2025-04-17 03:26:45 -0400
commite7c664217f96326f1a52e103b9e47fbba3ce9d88 (patch)
tree864c49072520d0d139ee9e41d20dde02e7933fd4
parent8adb2aee56da63e4d8a6f6e97439d42de53aa256 (diff)
downloadvyos-1x-e7c664217f96326f1a52e103b9e47fbba3ce9d88.tar.gz
vyos-1x-e7c664217f96326f1a52e103b9e47fbba3ce9d88.zip
firewall: T7369: Match global state policies in show firewall
Global state policies were not matched when typing "show firewall"
-rwxr-xr-xop-mode-definitions/show-log.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 3533fa4dc..0e6113af0 100755
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -126,7 +126,7 @@
<properties>
<help>Show log for Firewall</help>
</properties>
- <command>journalctl --no-hostname --boot -k | egrep "(ipv[46]|bri)-(FWD|INP|OUT|NAM)|STATE-POLICY"</command>
+ <command>journalctl --no-hostname --boot -k --grep='(ipv[46]|bri)-(FWD|INP|OUT|NAM)|STATE-POLICY'</command>
<children>
<node name="bridge">
<properties>