shorten substring

main
n0emis 3 years ago
parent 833c15d4bf
commit f0dc913a27
Signed by: n0emis
GPG Key ID: 00FAF748B777CF10

@ -9,7 +9,7 @@ let
mkDomain = name: domCfg:
let
cidrToAddress = cidr: head (splitString "/" cidr);
mkIfName = type: substring 0 16 (
mkIfName = type: substring 0 15 (
if type == "bridge" then "br-${name}" else
if type == "batman" then "bat-${name}" else
if type == "fastd" then "fd-${name}" else

Loading…
Cancel
Save