mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-10 14:35:00 +03:00
@@ -347,7 +347,7 @@ namespace ServiceLib.ViewModels
|
|||||||
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
|
_config.TunModeItem.EnableIPv6Address = TunEnableIPv6Address;
|
||||||
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
|
if (TunLinuxSudoPassword != _config.TunModeItem.LinuxSudoPwd)
|
||||||
{
|
{
|
||||||
_config.TunModeItem.LinuxSudoPwd = DesUtils.Encrypt(TunLinuxSudoPassword);
|
_config.TunModeItem.LinuxSudoPwd = AesUtils.Encrypt(TunLinuxSudoPassword);
|
||||||
}
|
}
|
||||||
|
|
||||||
//coreType
|
//coreType
|
||||||
@@ -405,4 +405,4 @@ namespace ServiceLib.ViewModels
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user