Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/ipam: convert dots to slashes in interface names for sysctl
Since the sysctl key syntax already uses the dot as separator, dots in interface names that appear in sysctl keys, as is the case for the net.ipv6.conf.<iface>.* entries, must be replaced by slashes. Also, print error message to stderr in case sysctl cannot be read instead of silently hiding the error. Signed-off-by: David Verbeiren <[email protected]>
- Loading branch information