chore(netlink): log ipv6 support at debug level

This commit is contained in:
Quentin McGaw
2022-12-14 11:21:29 +00:00
parent 2e3eb1fd7b
commit 16acd1b162
2 changed files with 5 additions and 6 deletions

View File

@@ -301,12 +301,6 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
return fmt.Errorf("checking for IPv6 support: %w", err)
}
if ipv6Supported {
logger.Info("IPv6 is supported")
} else {
logger.Info("IPv6 is not supported")
}
if err := routingConf.Setup(); err != nil {
if strings.Contains(err.Error(), "operation not permitted") {
logger.Warn("💡 Tip: Are you passing NET_ADMIN capability to gluetun?")