move to ipv6
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user