Skip to content

Commit

Permalink
📺 show: adjust syslog runningconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Fastiuk <[email protected]>
  • Loading branch information
fastiuk committed May 31, 2023
1 parent 5750057 commit 909c1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ def syslog(verbose):
header = ["Syslog Servers"]
body = []

re_syslog = re.compile(r'^\*\.\* action\(.*target=\"{1}(.+?)\"{1}.*\)')
re_syslog = re.compile(r'^action\(type=\"omfwd\" Target=\"{1}(.+?)\"{1}.*\)')

try:
with open("/etc/rsyslog.conf") as syslog_file:
Expand Down

0 comments on commit 909c1f5

Please sign in to comment.