mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-10 14:33:44 +02:00
Lock goes in root now.
This commit is contained in:
parent
18fd4948e5
commit
a6d298e536
2 changed files with 2 additions and 1060 deletions
|
@ -1,3 +1,5 @@
|
|||
// (c) 2020-2022 ZeroTier, Inc. -- currently propritery pending actual release and licensing. See LICENSE.md.
|
||||
|
||||
// from zeronsd
|
||||
pub fn randstring(len: u8) -> String {
|
||||
(0..len).map(|_| (rand::random::<u8>() % 26) + 'a' as u8).map(|c| if rand::random::<bool>() { (c as char).to_ascii_uppercase() } else { c as char }).map(|c| c.to_string()).collect::<Vec<String>>().join("")
|
||||
|
|
1060
zerotier-system-service/Cargo.lock
generated
1060
zerotier-system-service/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue