Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rsyslog] Add support for IPv6 remote addresses #3754

Merged
merged 1 commit into from
Nov 14, 2019
Merged

[rsyslog] Add support for IPv6 remote addresses #3754

merged 1 commit into from
Nov 14, 2019

Conversation

jleveque
Copy link
Contributor

- What I did

Add support for IPv6 addresses of remote syslog servers in rsyslog.conf.j2 template

- How I did it

Enclose server address in square brackets.

According to the documentation, IPv6 addresses must be enclosed in square brackets. However, it also states that IPv4 addresses as well as host names will also work if enclosed in square brackets. Thus, in order to avoid unnecessary conditional logic, all syslog server addresses will be enclosed in square brackets in the generated rsyslog.conf file.

- How to verify it

Configure the device to have IPv6 addresses for syslog servers and confirm it works.

@lguohan lguohan merged commit c50c390 into sonic-net:master Nov 14, 2019
@jleveque jleveque deleted the rsyslog_ipv6_support branch November 14, 2019 18:59
zhenggen-xu pushed a commit to zhenggen-xu/sonic-buildimage that referenced this pull request Jan 10, 2020
@qiluo-msft qiluo-msft mentioned this pull request Nov 30, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants