This commit is contained in:
2dust
2024-11-26 14:39:33 +08:00
parent 7a1d12be76
commit 800d193acb
4 changed files with 4 additions and 2 deletions
@@ -347,7 +347,7 @@ namespace ServiceLib.ViewModels
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
{
_config.TunModeItem.LinuxSudoPwd = AesUtils.Encrypt(TunLinuxSudoPassword);
_config.TunModeItem.LinuxSudoPwd = DesUtils.Encrypt(TunLinuxSudoPassword);
}
//coreType