Chore: use mixed-port instead of port when initial config (#1319)

This commit is contained in:
gVisor bot 2021-04-01 15:35:33 +08:00
parent 20e6e5296b
commit b2cbe36f0f

View file

@ -66,7 +66,7 @@ func Init(dir string) error {
if err != nil { if err != nil {
return fmt.Errorf("can't create file %s: %s", C.Path.Config(), err.Error()) return fmt.Errorf("can't create file %s: %s", C.Path.Config(), err.Error())
} }
f.Write([]byte(`port: 7890`)) f.Write([]byte(`mixed-port: 7890`))
f.Close() f.Close()
} }