wgengine: remove MTU TODO.

The MTU is currently set when creating the tun device,
elsewhere in the code. Maybe someday we'll want some kind
of per-platform MTU configuration here, but not in the
short-medium term.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson 2020-02-12 15:59:13 -08:00
parent afa83358f7
commit 5c2deb66be
1 changed files with 0 additions and 2 deletions

View File

@ -49,8 +49,6 @@ func cmd(args ...string) *exec.Cmd {
}
func (r *openbsdRouter) Up() error {
// TODO(mbaillie): MTU set elsewhere?
ifup := []string{"ifconfig", r.tunname, "up"}
if out, err := cmd(ifup...).CombinedOutput(); err != nil {
r.logf("running ifconfig failed: %v\n%s", err, out)