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

[script] use / instead . in sysctl.conf to avoid issues when the infra if name contains . #2125

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erjiaqing
Copy link
Contributor

I have a setup which uses eth0.10 (meaning vlan 10 on eth0) on the border router for daily use

When setting up brs, net.ipv6.conf.${INFRA_IF_NAME}.accept_ra converts to net/ipv6/conf/eth0/10/accept_ra making it failed to set the correct value for accept_ra

According to SYSCTL(8), we can use / in case . is contained in the name of the component.

So using / instead of . is more robust in this case.

@erjiaqing erjiaqing changed the title [script] use / instead . in sysctl.conf to avoid issues when the infra if has . in its name [script] use / instead . in sysctl.conf to avoid issues when the infra if name contains . Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant