{
+ handleChange("config", "v6AssignMode", "custom", {
+ "rfc4193": v6AssignMode["rfc4193"],
+ "6plane": e.target.checked,
+ "zt": v6AssignMode["zt"],
+ })(null)
+ }}
+ />
+ ZeroTier 6PLANE (/80 routable for each device)
+ {v6AssignMode["6plane"] && (
+
+
+ fc
+ {
+ (() => {
+ const sixPlaneID = id.match(/.{1,2}/g)
+ .map((substr, idx, arr) => parseInt(substr, 16) ^ parseInt(arr[idx + 4], 16))
+ .map((byte) => byte.toString(16).toLowerCase())
+ .map((byte) => (byte.length === 2) ? byte : '0' + byte)
+ .slice(0, 4)
+ .join('')
+ return (
+ <>
+ {sixPlaneID.slice(0, 2)}
+ :
+ {sixPlaneID.slice(2, 6)}
+ :
+ {sixPlaneID.slice(6, 8)}
+ >
+ )
+ })()
+ }
+ __
+ :
+ ____
+ :
+ ____
+ :0000:0000:0001
+
+
+ )}
+