plugins/pkg/utils
Jaime Caamaño Ruiz d671d29ad5 Improve support of sysctl name seprators
Sysctl names can use dots or slashes as separator:

- if dots are used, dots and slashes are interchanged.
- if slashes are used, slashes and dots are left intact.

Separator in use is determined by firt ocurrence.

Reference: http://man7.org/linux/man-pages/man5/sysctl.d.5.html

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
2020-01-13 14:40:42 +01:00
..
buildversion plugins: correctly output build version, cosmetic cleanups 2019-04-15 16:52:07 +02:00
hwaddr build: some small improvements; bump to go1.10 2018-04-12 16:59:51 +02:00
sysctl Improve support of sysctl name seprators 2020-01-13 14:40:42 +01:00
iptables_test.go iptables: add idempotent functions 2019-12-12 15:13:15 +01:00
iptables.go iptables: add idempotent functions 2019-12-12 15:13:15 +01:00
utils_suite_test.go build: some small improvements; bump to go1.10 2018-04-12 16:59:51 +02:00
utils_test.go pkg/meta/bandwidth: increase IfbDeviceName size 2019-07-18 11:45:38 -07:00
utils.go pkg/meta/bandwidth: increase IfbDeviceName size 2019-07-18 11:45:38 -07:00