mirror of
https://github.com/slackhq/nebula.git
synced 2026-04-02 22:35:18 +02:00
remove dead comment
This commit is contained in:
@@ -454,15 +454,6 @@ func (t *tun) Activate() error {
|
|||||||
return fmt.Errorf("failed to run tun device: %s", err)
|
return fmt.Errorf("failed to run tun device: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
//todo hmmmmmm
|
|
||||||
//pretty sure this is avoidable
|
|
||||||
//if len(t.unsafeNetworks) != 0 {
|
|
||||||
// err = os.WriteFile(fmt.Sprintf("/proc/sys/net/ipv4/conf/%s/accept_local", t.Device), []byte("1"), os.FileMode(0o644))
|
|
||||||
// if err != nil {
|
|
||||||
// return err
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user