plugins/pkg
David Verbeiren 9b09f167bb pkg/ipam: use slash as sysctl separator so interface name can have dot
A dot is a valid character in interface names and is often used in the
names of VLAN interfaces. The sysctl net.ipv6.conf.<ifname>.disable_ipv6
key path cannot use dots both in the ifname and as path separator.
We switch to using / as key path separator so dots are allowed in the
ifname.

This works because sysctl.Sysctl() accepts key paths with either dots
or slashes as separators.

Also, print error message to stderr in case sysctl cannot be read
instead of silently hiding the error.

Signed-off-by: David Verbeiren <david.verbeiren@tessares.net>
2021-02-22 15:54:03 +01:00
..
errors [DO NOT REVIEW] vendor upate to remove useless dependencies 2020-03-17 14:30:28 +08:00
hns Remove extraneous test file in Windows plugin 2020-09-09 16:12:54 +00:00
ip ptp, bridge: disable accept_ra on the host-side interface 2020-05-12 15:54:23 +02:00
ipam pkg/ipam: use slash as sysctl separator so interface name can have dot 2021-02-22 15:54:03 +01:00
ns pkg/ns: fix test case to tolerate pids going away. 2020-12-09 17:46:29 +01:00
testutils portmap plugin should flush previous udp connections 2020-11-23 16:29:52 +01:00
utils portmap plugin should flush previous udp connections 2020-11-23 16:29:52 +01:00