mirror of https://github.com/2dust/v2rayN
parent
9f44815470
commit
1b9c95e801
|
@ -347,7 +347,7 @@ namespace ServiceLib.ViewModels
|
|||
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
|
||||
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
|
||||
{
|
||||
_config.TunModeItem.LinuxSudoPwd = DesUtils.Encrypt(TunLinuxSudoPassword);
|
||||
_config.TunModeItem.LinuxSudoPwd = AesUtils.Encrypt(TunLinuxSudoPassword);
|
||||
}
|
||||
|
||||
//coreType
|
||||
|
@ -405,4 +405,4 @@ namespace ServiceLib.ViewModels
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue