move to ipv6

This commit is contained in:
2026-07-22 10:37:46 +02:00
parent 0ed69fbc70
commit e58731bd34
2 changed files with 30 additions and 20 deletions

View File

@@ -118,7 +118,7 @@ func setupInterface() {
panic(err)
}
if err := exec.Command("ip", "addr", "add", internalIP.String()+"/24", "dev", IFACE_NAME).Run(); err != nil {
if err := exec.Command("ip", "addr", "add", internalIP.String()+"/32", "dev", IFACE_NAME).Run(); err != nil {
panic(err)
}
if err := exec.Command("ip", "link", "set", "dev", IFACE_NAME, "up").Run(); err != nil {