Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Configurations added via .mobileconfig will not be migrated into keychain until the WireGuard application is opened once.
-[wg-quick(8)]: https://git.zx2c4.com/WireGuard/about/src/tools/man/wg-quick.8
-[wg(8)]: https://git.zx2c4.com/WireGuard/about/src/tools/man/wg.8
+[wg-quick(8)]: https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8
+[wg(8)]: https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8
init?(from string: String) {
// Separation of host and port is based on 'parse_endpoint' function in
- // https://git.zx2c4.com/WireGuard/tree/src/tools/config.c
+ // https://git.zx2c4.com/wireguard-tools/tree/src/config.c
guard !string.isEmpty else { return nil }
let startOfPort: String.Index
let hostString: String