diff options
author | Christian Breunig <christian@breunig.cc> | 2025-03-08 21:04:32 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-03-08 21:04:32 +0100 |
commit | 4666bbc2164d9e0104916a5ea5bf2528bf4e1043 (patch) | |
tree | 1b9e071d4e5e3500a86ed14ad014cac52a19fba1 /data | |
parent | b12c9ec6db804f8e9494502e0612850c72670fee (diff) | |
download | vyos-1x-4666bbc2164d9e0104916a5ea5bf2528bf4e1043.tar.gz vyos-1x-4666bbc2164d9e0104916a5ea5bf2528bf4e1043.zip |
syslog: T7229: advanced format should not have IPv6 addresses in [] brackets
Otherwise rsyslog will report an error:
omfwd: could not get addrinfo for hostname '[2001:db8::2]':'514': System error
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rsyslog/rsyslog.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/rsyslog/rsyslog.conf.j2 b/data/templates/rsyslog/rsyslog.conf.j2 index e2ff334ff..68e34f3f8 100644 --- a/data/templates/rsyslog/rsyslog.conf.j2 +++ b/data/templates/rsyslog/rsyslog.conf.j2 @@ -98,7 +98,7 @@ if prifilt("{{ tmp | join(',') }}") then { action( type="omfwd" # Remote syslog server where we send our logs to - target="{{ remote_name | bracketize_ipv6 }}" + target="{{ remote_name }}" # Port on the remote syslog server port="{{ remote_options.port }}" protocol="{{ remote_options.protocol }}" |