Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

237 B
Raw Blame
//go:build unix

package server

import "golang.org/x/sys/unix"

func serviceHealthSocketIsDualStack(fd uintptr) bool {
	v6Only, err := unix.GetsockoptInt(int(fd), unix.IPPROTO_IPV6, unix.IPV6_V6ONLY)
	return err == nil && v6Only == 0
}