Format with gofmt
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
This commit is contained in:
@ -58,7 +58,7 @@ func setSysctl(name, value string) (string, error) {
|
||||
// Normalize names by using slash as separator
|
||||
// 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.
|
||||
// - if slashes are used, slashes and dots are left intact.
|
||||
// Separator in use is determined by firt ocurrence.
|
||||
func toNormalName(name string) string {
|
||||
interchange := false
|
||||
|
@ -28,7 +28,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
sysctlDotKeyTemplate = "net.ipv4.conf.%s.proxy_arp"
|
||||
sysctlDotKeyTemplate = "net.ipv4.conf.%s.proxy_arp"
|
||||
sysctlSlashKeyTemplate = "net/ipv4/conf/%s/proxy_arp"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user